From c9c7dfce3e1fee5828ba9d825fa31f6a0f65946a Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 8 Aug 2021 11:14:06 +0800 Subject: [PATCH] auto save --- 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..cfd95b9 --- /dev/null +++ b/diy1.py @@ -0,0 +1,6 @@ +a=input("玩家请出拳(石头/剪刀/布):")# 玩家出拳 +import random +list=["石头","剪刀","布"] +print("玩家出拳:"+a) +b=random.choice(list) +print("机器人出拳:"+b) \ No newline at end of file -- libgit2 0.25.0