Commit 11f49f33 by BellCodeEditor

save project

parent e14a5699
Showing with 0 additions and 2 deletions
...@@ -3,8 +3,6 @@ class Hero: ...@@ -3,8 +3,6 @@ class Hero:
self.name=name self.name=name
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
yaser = Hero("亚瑟",300,20) yaser = Hero("亚瑟",300,20)
print("yaser的血量是:",yaser.hp) print("yaser的血量是:",yaser.hp)
......
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