Commit 4fdc810c by BellCodeEditor

save project

parent 7ee5b191
Showing with 1 additions and 4 deletions
......@@ -16,10 +16,7 @@ class Hero(object):
if enemy.hp>0:
print(i)
else:
info1=self.name+'对'+enemy.name+'发起进攻,'
info2=enemy.name+'已阵亡,游戏结束'
imfo=info1+info2
print(info)
print(i1+i2)
exit()
......
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