Jan-17-2018, 05:31 PM
What i want to do it take a certain number of foods and take them and there values and print the values out.
foods = {"Dempsters Whole Wheat Bread": {"cost":2.27, "calories": 1620, "Servings":18}, "Dempsters White Bread": {"cost":2.27, "calories": 1620, "Servings":18}, "Dempsters Everything Bagels": {"cost":2.98, "calories": 1200, "Servings":12}, "Gala Apple": {"cost":0.71, "calories": 52, "Servings":1}, "Clemintines": {"cost":2.97, "calories": 700, "Servings":20}, "Great Value Egg": {"cost":2.27, "calories": 2080, "Servings":6}, "Nelson Milk": {"cost":4.27, "calories": 1620, "Servings":16}, "Great Value Cheddar Cheese": {"cost":4.97, "calories": 1800, "Servings":5}, "Great Value Vanilla Yougurt": {"cost":1.77, "calories": 600, "Servings":7}, "Great Value Orange Juice": {"cost":1, "calories": 440, "Servings":4}}