Jan-16-2018, 03:08 PM
how would i add up the cost in this dict
foodstest = {'Dempsters Whole Wheat Bread': {"cost":2.27, "servings":18, "calories":1620}, "Dempsters White Bread": {"cost":2.27, "servings":18, "calories":1620}, "Dempsters Everything Bagels":{"cost":2.98, "servings":12, "calories":1200}}