From c2017a113959ac605d16fc0ff62365e5fd5c42db Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Fri, 25 Jun 2021 19:45:59 +0800
Subject: [PATCH] save project

---
 diy1.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/diy1.py b/diy1.py
index bb870e4..4e6a52e 100644
--- a/diy1.py
+++ b/diy1.py
@@ -4,4 +4,10 @@ print("玩家出拳"+a)
 import random
 List=["石头","剪刀","布" ]
 letter=random.choice(List)
-print(letter)
\ No newline at end of file
+print(letter)
+if a==letter:
+    print("平局")
+elif (a=="剪刀" and letter=="布")or (a=="布" and letter=="石头") or (a=="石头" and letter=="布"):
+    print("you win")
+else:
+    print("you lose")
\ No newline at end of file
--
libgit2 0.25.0