Commit 99173090 by BellCodeEditor

save project

parent 687f9556
Showing with 10 additions and 2 deletions
......@@ -2,4 +2,12 @@ print('-'*30)
print(' 战斗开始')
while True:
print('-'*30)
a=input("请选择技能:1攻击/2治疗")
\ No newline at end of file
a=input("请选择技能:1攻击/2治疗")
if a=="stop":
print("游戏结束")
break
elif a=="1":
print("发起进攻")
elif a=="2":
print(治疗)
\ 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