From 7ddfbb830d77c7b80f6525fa87e7b715fe72e4ca Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 4 Oct 2020 14:56:20 +0800
Subject: [PATCH] save project

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

diff --git a/diy1.py b/diy1.py
new file mode 100644
index 0000000..4450eca
--- /dev/null
+++ b/diy1.py
@@ -0,0 +1,9 @@
+
+import random
+# 玩家出拳
+pig=input("请出拳(剪刀/石头/布)")
+print("玩家出拳:"+pig)
+#计算机出拳
+list2=("剪刀,石头,布")
+computer=random.choice(list2)
+print("计算机出拳:"+computer)
\ No newline at end of file
--
libgit2 0.25.0