Commit 037c488c by BellCodeEditor

save project

parent 31c3e3b1
Showing with 3 additions and 3 deletions
......@@ -6,5 +6,5 @@ class Hero:
self.attack=attack
yase=Hero("亚瑟",300,20)
ikun=Hero("爱坤",900,90)
print("亚瑟的血量为:"yase.hp)
print("爱坤的血量为:"ikun.hp)
\ No newline at end of file
print("亚瑟的血量为:",yase.hp)
print("爱坤的血量为:",ikun.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