Skip to content

Commit 4ef5ae8

Browse files
Update food_class.py
Co-authored-by: abhatia1205 <[email protected]>
1 parent 516f4ba commit 4ef5ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2_intermediate/chapter12/solutions/food_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(self, name, cals, protein, fat, sodium):
7373
Meal("Pizza", 500, 20, 15, 150),
7474
]
7575

76-
cals = protein = fat = sugar = sodium = 0
76+
cals, protein, fat, sugar, sodium = 0,0,0,0,0
7777

7878
for snack in snacks:
7979
snack.eat()

0 commit comments

Comments
 (0)