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 3b545bc commit 83697f6Copy full SHA for 83697f6
fish.py
@@ -13,7 +13,7 @@ class Goldfish(Fish):
13
14
class Shark(Fish):
15
def __init__(self):
16
- Fish.__init__(self) #__init__后面跟的参数要与父类__init__后面的参数一致
+ Fish.__init__(self) #__init__后面跟的参数要与父类__init__后面的参数一致
17
self.hungry = True
18
def eat(self):
19
if self.hungry == True:
0 commit comments