Commit 599b8d0f by BellCodeEditor

save project

parent 01801b22
Showing with 6 additions and 0 deletions
......@@ -14,6 +14,12 @@ class Hero(object):
info3='血量为零,游戏结束'
info=info1+info2+info3
print(info)
exit()
yase=Hero('亚瑟')
hy=Hero('后羿')
while True
hy.combat(yase)
yase.combat(hy)
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