From e4f3a4bacdbfc7a91e6b3377bd0e203a49c32f30 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 16 Jan 2021 14:56:15 +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..500b79c --- /dev/null +++ b/diy1.py @@ -0,0 +1,6 @@ +player=input("请出拳(石头/剪刀/布):") +print(player+"玩家请出拳")# 玩家出拳 +import random +list=["石头","剪刀","布"] +computer=random.choice(list) +print(computer) \ No newline at end of file -- libgit2 0.25.0