Commit a72c8a5f by BellCodeEditor

save project

parent 1357abab
Showing with 2 additions and 5 deletions
......@@ -7,8 +7,6 @@ class Hero:
yase=Hero("亚瑟",300,20)
houyi=Hero("后羿",250,23)
print("亚瑟的血量为",yase.hp)
print("亚瑟的攻击为",yase.attack)
print("后羿的血量为",houyi.hp)
print("亚瑟的血量为",yase.hp)
print("后羿的血量为",houyi.hp)
print("亚瑟的血量为",yase.hp)
print("后羿的血量为",houyi.hp)
\ No newline at end of file
print("后羿的攻击为",houyi.attack)
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