Commit e577fdf6 by BellCodeEditor

save project

parent fc1b9a25
Showing with 2 additions and 1 deletions
...@@ -3,7 +3,7 @@ class Hero: ...@@ -3,7 +3,7 @@ class Hero:
self.level=1 self.level=1
self.hp=hp self.hp=hp
self.attack=attack self.attack=attack
yase=Hero("垭",300,20) yase=Hero("垭",300,20)
houyi=Hero("后羿",250,23) houyi=Hero("后羿",250,23)
print("yase的血量值为:",300) print("yase的血量值为:",300)
print("houyi的血量值为:",250) print("houyi的血量值为:",250)
\ 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