Commit 4895381a by BellCodeEditor

save project

parent 008361ce
Showing with 2 additions and 1 deletions
...@@ -7,6 +7,6 @@ class Hero: ...@@ -7,6 +7,6 @@ class Hero:
yase=Hero('垭瑟',300,20) yase=Hero('垭瑟',300,20)
hy=Hero('后羿',250,23) hy=Hero('后羿',250,23)
#k=Hero('K',5600,199) #k=Hero('K',5600,199)
print("垭瑟的血量为:"yase.hp) print("垭瑟的血量为:",yase.hp)
print("后羿的血量为:"houyi.hp) print("后羿的血量为:"houyi.hp)
#print(k.attack) #print(k.attack)
\ 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