From 0d6d04083757124c9ad84c42a6b96c930caed8ed Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 2 Oct 2022 09:36:06 +0800 Subject: [PATCH] auto save --- jk.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/jk.py b/jk.py index d6e6850..5a02a63 100644 --- a/jk.py +++ b/jk.py @@ -1,6 +1,8 @@ if player==computer: - print("平局") -elif (player=="布"and computer=="石头") or (player=="剪刀"and computer=="布") or (player=="石头"and computer=="剪刀") - print("恭喜你,你赢了") -else: - print("很遗憾,你输了") \ No newline at end of file + print("平局") + elif (player=="布"and computer=="石头") or (player=="剪刀"and computer=="布") or (player=="石头"and computer=="剪刀") + print("恭喜你,你赢了") + else: + print("很遗憾,你输了") +else: + print("你出错了!") \ No newline at end of file -- libgit2 0.25.0