From 565cffe27e7531c8fa06f602df18c82deef6a676 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 27 May 2023 09:11:27 +0800 Subject: [PATCH] save project --- diy1.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 diy1.py diff --git a/diy1.py b/diy1.py new file mode 100644 index 0000000..636ba47 --- /dev/null +++ b/diy1.py @@ -0,0 +1,5 @@ +player=input("请出拳:石头/剪刀/布")# 玩家出拳 +print("玩家出拳:"+player) +list = ["石头","剪刀","布"] +computer = random.choice(list1) +print("电脑出拳"+computer) \ No newline at end of file -- libgit2 0.25.0