From 8d2d52c665833c68d76cff49fbdbe43c9efc4778 Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 26 Feb 2022 11:49:19 +0000
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..dcdbd95
--- /dev/null
+++ b/diy1.py
@@ -0,0 +1,19 @@
+# 玩家出拳
+player=input("出什么(石头/剪刀/布)")
+print("玩家出拳"+player)
+import random
+DJOKOVIC=['石头','剪刀','布']
+C=(random.choice(DJOKOVIC))
+print("COM"+C)
+
+    if player==C:
+        print("dogfall")
+    elif player=='石头' and C=='剪刀':
+        print('You win')
+    elif player=='布' and C=='石头':
+        print('You win')
+    elif player=='剪刀' and C=='布': 
+        print('You win')
+    else:
+        print('You lose')                    
+          
\ No newline at end of file
--
libgit2 0.25.0