@@ -0,0 +1,548 @@
+# An article of food available for consumption%0Aclass Food:%0A%0A%09# Contains:%0A%09# Name/identifier of the food%0A%09# Array of tuple value for the nutrition%0A%09def __init__(self, name, nutrition=%5B%5D):%0A%09%09self.name=name;%0A%09%09self.nutrition=nutrition;%0A%0A%09# Append a nutritional value to the array of nutritions%0A%09# Nutrition is a tuple:%0A%09# (name of the nutrition%5Bstring%5D, %25 daily value%5Bdouble%5D)%0A%09def add_nutrition(self, nutrition):%0A%09%09self.nutrition.append(nutrition);%0A%0A%09# Return the nutritional value of a food product%0A%09def get_nutrition(self):%0A%09%09return self.nutrition%0A

Created a food object that stores the name and nutritional value of a food article