Commit 9f7b2c6a by BellCodeEditor

save project

parent 2cfb92d0
Showing with 10 additions and 2 deletions
class Husky(Dog): # 哈士奇类
def __init__(self):
self.footNum=4
self.eyeNum=2
self.head=1
self.earsNum=2
self.skin="white"
def run(self):
print("ddddd")
class husky(Dog)
def __init__(self):
super(). __init__()
coco = Husky()
print(coco.skin)
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