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 dbd6cd6 commit 39bd2f9Copy full SHA for 39bd2f9
2_intermediate/chapter12/solutions/food_class.py
@@ -57,7 +57,7 @@ def __init__(self, name, cals, protein, fat, sugar):
57
58
class Meal(Food):
59
def __init__(self, name, cals, protein, fat, sodium):
60
- Food.__init__(self, name, cals, protein, fat)
+ super().__init__(name, cals, protein, fat)
61
self.sodium = sodium
62
63
0 commit comments