From 3f832e11957057b350ada54d8acb1aba7d790e1e Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 3 Jul 2021 20:44:32 +0800
Subject: [PATCH] save project

---
 diy1.py | 12 ++++++++++++
 randopy |  1 +
 2 files changed, 13 insertions(+)
 create mode 100644 diy1.py
 create mode 100644 randopy

diff --git a/diy1.py b/diy1.py
new file mode 100644
index 0000000..4ee4bbe
--- /dev/null
+++ b/diy1.py
@@ -0,0 +1,12 @@
+import random
+player=input("请输入石头,剪刀,布")
+list=["石头","剪刀","布"]
+computer=random.choice(list)
+print(computer)
+print("玩家出拳:"+player)
+if player==computer:
+    print("平局")
+elif (player=="石头" and computer=="剪刀") or (player=="剪刀" and computer=="布") or (player=="布" and computer=="石头"):
+    print("玩家赢了")
+else:
+    print("玩家输了")
\ No newline at end of file
diff --git a/randopy b/randopy
new file mode 100644
index 0000000..945c9b4
--- /dev/null
+++ b/randopy
@@ -0,0 +1 @@
+.
\ No newline at end of file
--
libgit2 0.25.0