Commit 904cce9f by BellCodeEditor

save project

parent 47feb943
Showing with 4 additions and 4 deletions
...@@ -14,11 +14,11 @@ while True: ...@@ -14,11 +14,11 @@ while True:
score +=1 score +=1
else: else:
print("很遗憾你输了") print("很遗憾你输了")
score -=1 score -=1
else: else:
print("输入错误") print("输入错误")
if score>=0: if score>=0:
print("恭喜你赢了"+sti(score)+"") print("恭喜你赢了"+sti(score)+"")
else: else:
print("恭喜你输了"+sti(score)+"") print("恭喜你输了"+sti(score)+"")
print("游戏结束") print("游戏结束") =
\ No newline at end of file \ 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