Commit 630c2ea8 by BellCodeEditor

save project

parent b28c2752
Showing with 2 additions and 2 deletions
......@@ -43,8 +43,8 @@ print("_"*30)
print(" 战斗开始")
while True:
print("_"*30)
a=input("请输入你选择的技能(1.攻击,2.治疗)")
if a=="q":
choice=input("请输入你选择的技能(1.攻击,2.治疗)")
if choice=="q":
print("游戏结束")
break
elif choice=="1":
......
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