Commit d249fec7 by BellCodeEditor

save project

parent 1d4a5756
Showing with 12 additions and 1 deletions
...@@ -19,7 +19,7 @@ class Hero: ...@@ -19,7 +19,7 @@ class Hero:
info = info1+info2+info3 info = info1+info2+info3
print(info) print(info)
exit() exit()
class Player(Hero): class Player(Hero):
def __init__(self,name): def __init__(self,name):
super().__init__(name) super().__init__(name)
......
class Dog:
def __init__(self):
self.footNum = 4
self.eyeNum = 2
self.head = 1
self.earsNum = 2
self.skin = "white"
def run(self):
print("狗狗飞快的跑起来")
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