From 0edb1366d79a60f339ea0bf6f67e5e5155223c9b Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Tue, 24 Aug 2021 21:30:41 +1400
Subject: [PATCH] save project

---
 diy1.py | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 diy1.py

diff --git a/diy1.py b/diy1.py
new file mode 100644
index 0000000..29ec9fc
--- /dev/null
+++ b/diy1.py
@@ -0,0 +1,19 @@
+#玩家出拳
+player=("请出拳(石头/剪刀/布):")
+print("玩家出拳:"+player)
+import random
+list["石头,剪刀,布"]
+computer=random.choice(list)
+print(computer)
+if player in list:
+    if player==computer
+        print("平局")
+    elif (player=="石头" and computer=="剪刀") or (player=="剪刀" and
+        computer=="布") or (player=="布" and computer=="石头"):
+        print("恭喜,你赢了!")
+    else:
+        print("很遗憾,你输了。")
+else:
+    print("输入错误")
+
+
--
libgit2 0.25.0