Commit ec965fc6 by BellCodeEditor

save project

parent b4c84154
Showing with 8 additions and 6 deletions
......@@ -4,10 +4,12 @@ class Cat:
self.eyeNum = 2
self.head = 1
self.earsNum = 2
self.skin = "black"
self.skin = "white"
def run(self):
print("用谷歌翻译")
def skill():
print("解放后v吧"+prey)
role = Cat()
role.skill("和i和i")
\ No newline at end of file
class Husky(Dog)
def __init__(self):
super().__init__()
self.skin="black"
coco=Husky()
print(coco.skin)
\ No newline at end of file
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