Commit 83bcf057 by BellCodeEditor

save project

parent 978448c0
Showing with 1 additions and 1 deletions
......@@ -5,6 +5,6 @@ class Hero:
self.hp=hp
self.attack=attack
yase=Hero('yase',300,20)
hy=Hero('hy',240,23)
houyi=Hero('hy',240,23)
print(yase.attack)print(垭瑟的血量为:"yase.hp)
print(yase.attack)print(后羿的血量为:"houyi.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