Commit 61b2fca7 by BellCodeEditor

save project

parent 8792d9c0
Showing with 3 additions and 3 deletions
...@@ -11,11 +11,11 @@ class Dog: # 狗类 ...@@ -11,11 +11,11 @@ class Dog: # 狗类
class Husky(Dog): # 哈士奇类 class Husky(Dog): # 哈士奇类
def __init__(self): def __init__(self,footNum):
super.__init__(self) super.__init__(footNum)
self.skin="black" self.skin="black"
def run(self): def Husky(self):
print("哈士奇飞快的跑起来") print("哈士奇飞快的跑起来")
coco = Husky() coco = Husky()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment