Commit 05aabd99 by BellCodeEditor

save project

parent ae3d863a
Showing with 3 additions and 2 deletions
...@@ -6,4 +6,5 @@ class Heor: ...@@ -6,4 +6,5 @@ class Heor:
self.attack=attack self.attack=attack
yase=Heor('亚瑟',300,20) yase=Heor('亚瑟',300,20)
houyi=Heor('后羿',240,23) houyi=Heor('后羿',240,23)
print('亚瑟血量为'+yase.hp/n'后羿血量为'+houyi.hp) print('亚瑟血量为'+str(yase.hp))
\ No newline at end of file print('后羿血量为'+str(houyi.hp))
\ 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