Commit 11b3b2a6 by BellCodeEditor

save project

parent 112f1aff
Showing with 1 additions and 1 deletions
...@@ -3,7 +3,7 @@ class Hero: ...@@ -3,7 +3,7 @@ class Hero:
self.level=1 self.level=1
self.name=name self.name=name
self.hp=hp self.hp=hp
self.attack=attck self.attack=attack
yase=Hero("亚瑟",300,20) yase=Hero("亚瑟",300,20)
houyi=Hero("后羿",250,23) houyi=Hero("后羿",250,23)
print(yase.hp) print(yase.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