We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 516f4ba commit 4ef5ae8Copy full SHA for 4ef5ae8
2_intermediate/chapter12/solutions/food_class.py
@@ -73,7 +73,7 @@ def __init__(self, name, cals, protein, fat, sodium):
73
Meal("Pizza", 500, 20, 15, 150),
74
]
75
76
-cals = protein = fat = sugar = sodium = 0
+cals, protein, fat, sugar, sodium = 0,0,0,0,0
77
78
for snack in snacks:
79
snack.eat()
0 commit comments