Commit 0159ee6e by BellCodeEditor

save project

parent 705458e0
Showing with 4 additions and 5 deletions
...@@ -7,9 +7,7 @@ class Cat: ...@@ -7,9 +7,7 @@ class Cat:
self.skin = "black" self.skin = "black"
def run(self): def run(self):
print("小猫飞快的跑起来") print():
def skill(self,me)):
print print
role = Cat() role = Cat()
......
class player(Hero): class player(Hero):
def__init__(self,name): def__init__(self,name):
self.hp=200
\ No newline at end of file self.attack=50
\ 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