From 42f479403852e228e9366646b8859ba539174041 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 4 Sep 2021 11:41:17 +0800
Subject: [PATCH] save project

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

diff --git a/diy1.py b/diy1.py
new file mode 100644
index 0000000..024fbc0
--- /dev/null
+++ b/diy1.py
@@ -0,0 +1,13 @@
+import random
+# 玩家出拳
+a=input('请出拳(石头)(剪刀)(布)')
+print('玩家出拳'+a)
+b=['石头','剪刀','布']
+c=random.choice(b)
+if a=='石头'and c=='剪刀' or a=='剪刀'and c=='布' or a=='布'and c=='石头':
+    print('YOU WIN')
+elif a==c:
+    print('平局')
+else:
+    print('YOU LOST')
+
--
libgit2 0.25.0