From 849ce4fd98c34eebaef73620050ca2f4475317f3 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Wed, 7 Jul 2021 20:04:48 +0800 Subject: [PATCH] auto save --- i.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i.py b/i.py index 90a029a..39984a9 100644 --- a/i.py +++ b/i.py @@ -1,9 +1,9 @@ if player in list: -if player==computer: + if player==computer: print("平局") -elif(player=="石头" and computer=="剪刀")or(player=="剪刀" and computer=="布")or(player=="布" and computer=="石头") + elif(player=="石头" and computer=="剪刀")or(player=="剪刀" and computer=="布")or(player=="布" and computer=="石头") print("赢") -else: + else: print("输") else: print("输入错误") \ No newline at end of file -- libgit2 0.25.0