HW 18

Due Monday

Download the McDonald's nutrition CSV file.

Write a program mcds.py that uses Pandas to read this CSV file into a DataFrame. Ask the user for a food type (Breakfast, Sandwiches, Desserts) and a min and max calorie range that they'd like to see. Your program then prints out those menu items.

Expected output:

Which meal? Sandwiches
Min calories? 0
Max calories? 400
Hamburger
Cheeseburger
McDouble
Premium Grilled Chicken Classic Sandwich
McChicken
Buffalo Ranch McChicken
Premium McWrap Chicken Sweet Chili (Grilled Chicken)
Chicken McNuggets (4 piece)
Chicken McNuggets (6 piece)
Filet-O-Fish

Expected output:

Which meal? Coffee & Tea
Min calories? 500
Max calories? 900
Mocha (Large)
Hot Chocolate (Large)
Frappé Mocha (Medium)
Frappé Mocha (Large)
Frappé Caramel (Medium)
Frappé Caramel (Large)
Frappé Chocolate Chip (Small)
Frappé Chocolate Chip (Medium)
Frappé Chocolate Chip (Large)

Submit

Submit your program to the online submission system under hw18-mcds

submit -c=sd211 -p=hw18-mcds mcds.py