Commit 0b2de22a by BellCodeEditor

save project

parent 2ac61746
Showing with 4 additions and 4 deletions
......@@ -6,6 +6,6 @@ class Heyo:
yase = Heyo('垭瑟',300,20)
houyi = Heyo('后羿',250,25)
libai = Heyo('李白',350,15)
print(yase.hp)
print(houyi.hp)
print(libai.hp)
\ No newline at end of file
print("垭瑟的血量为:",yase.hp)
print("后羿的血量为:",houyi.hp)
print("李白的血量为:",libai.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