Commit 5e52756e by BellCodeEditor

save project

parent 377a7d82
Showing with 3 additions and 3 deletions
...@@ -8,9 +8,9 @@ class Dog: ...@@ -8,9 +8,9 @@ class Dog:
def run(self): def run(self):
print("狗狗飞快地跑起来") print("狗狗飞快地跑起来")
class Husky(Dog): class Husky(Dog):
def__init__(self): def__init__(self)
super()__init__() super().__init__()
self.skin="black" self.skin= "black"
coco=Husky coco=Husky
print(coco.skin) 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