Commit c14d4b49 by BellCodeEditor

save project

parent 5265a2f6
Showing with 1 additions and 1 deletions
...@@ -8,7 +8,7 @@ class Hero: ...@@ -8,7 +8,7 @@ class Hero:
self.level =yase.level+1 self.level =yase.level+1
self.hp = yase.hp+ 1000 self.hp = yase.hp+ 1000
self.attack = yase.attack+20 self.attack = yase.attack+20
def shuchu(self) def shuchu(self):
print(self.level, self.hp,self.attsck) print(self.level, self.hp,self.attsck)
yase = Hero('yase',300,20) yase = Hero('yase',300,20)
......
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