Commit dcec915f by BellCodeEditor

save project

parent 8ea056f4
Showing with 2 additions and 0 deletions
...@@ -14,6 +14,8 @@ class Hero(object): ...@@ -14,6 +14,8 @@ class Hero(object):
info3=eneny.name+"还剩下"+str(eneny.hp)+"血量" info3=eneny.name+"还剩下"+str(eneny.hp)+"血量"
else: else:
info3="game over" info3="game over"
info=info1+info2+info3
print(info)
yase = Hero("垭瑟") yase = Hero("垭瑟")
houyi= Hero("后羿") houyi= Hero("后羿")
......
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