Commit 2c7c1b83 by BellCodeEditor

auto save

parent 984eddd7
Showing with 1 additions and 2 deletions
...@@ -25,7 +25,6 @@ class Hero(object): ...@@ -25,7 +25,6 @@ class Hero(object):
info3 = enemy.name+"阵亡,游戏结束" info3 = enemy.name+"阵亡,游戏结束"
info = info1+info2+info3 info = info1+info2+info3
print(info) print(info)
print('你干嘛啊~~')
exit() exit()
class Player(Hero): class Player(Hero):
...@@ -60,7 +59,7 @@ while True: ...@@ -60,7 +59,7 @@ while True:
print('游戏结束') print('游戏结束')
break break
else: else:
print('重!') print('重新输入1或2!')
continue continue
b=random.randint(1,3) b=random.randint(1,3)
if b==3: if b==3:
......
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