From b9a34e4fd0ab58aee34cabdcf837270d0e20128b Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 26 Feb 2023 09:52:27 +0800
Subject: [PATCH] save project

---
 diy1.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/diy1.py b/diy1.py
index 9544072..4bdeabf 100644
--- a/diy1.py
+++ b/diy1.py
@@ -1,2 +1,6 @@
+import random
 player=input("请出拳:石头/剪刀/布")# 玩家出拳
-print("玩家出拳:"+player)
\ No newline at end of file
+print("玩家出拳:"+player)
+list=["石头","剪刀","布"]
+com=random.choice(list)
+print("电脑出拳:"com)
\ No newline at end of file
--
libgit2 0.25.0