Commit a6bf2c05 by BellCodeEditor

save project

parent 9a581ef4
Showing with 6 additions and 2 deletions
......@@ -11,4 +11,8 @@ class Hero(object):
yase = Hero("垭瑟")
houyi= Hero("后羿")
yase.combat(houyi)
\ No newline at end of file
yase.combat(houyi)
else:
info3 = enemy.name+"阵亡,游戏结束"
info = info1+info2+info3
print(info)
\ 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