The same notebook contains two solutions to the Homework. Please scroll down to view the 2nd solution.
Resolved the homework using a for loop, results output to stdout and redirected stdout to file named results.txt
Resolved the homework using pandas and reduced code by 24.5% compared to solution 1, results output to stdout and redirected stdout to file named results2.txt
Resolved the home using Pandas and Dataframes and there are two output files. Analysis.txt contains the mathematical analysis of the data and provides guidance on which items could be eliminated from menu.
A csv file named report.csv was created to save the table with results by menu item.