From bdd7f3f98e7370f20a14e8c114853b627a6a81ca Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Thu, 3 Nov 2022 20:09:37 +0800 Subject: [PATCH] save project --- diy1.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 diy1.py diff --git a/diy1.py b/diy1.py new file mode 100644 index 0000000..070b572 --- /dev/null +++ b/diy1.py @@ -0,0 +1,6 @@ +player=input("请出拳:石头/剪刀/布")# 玩家出拳 +print("玩家出拳:"+player) +import random +list=["石头","剪刀","布"] +com=random.choice(list) +print(com) -- libgit2 0.25.0