Commit 7c00df51 by BellCodeEditor

save project

parent a9434e07
Showing with 1 additions and 3 deletions
...@@ -4,7 +4,5 @@ class Hero: ...@@ -4,7 +4,5 @@ class Hero:
self.level=10 self.level=10
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
yase=Hero()
print(yase.hp)
yase = Hero("牙涩",1000,20) yase = Hero("牙涩",1000,20)
dj=Hero ("打鸡",240,21)
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