Commit 44e99097 by BellCodeEditor

save project

parent 47f344cd
Showing with 4 additions and 1 deletions
......@@ -15,7 +15,10 @@ class Hero(object):
info = info1 + info2 + info3
print(info)
else:
info3 = enemy.name + "挂掉,游戏结"
info3 = enemy.name + "挂掉,游戏结束!!!!"
info = info1 + info2 + info3
print(info)
exit()
yase = Hero("垭瑟")
houyi= Hero("后羿")
yase.combat(houyi)
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