From 8f574240b456143a19493efff7c747f23dd21528 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 30 May 2021 20:15:20 +0800 Subject: [PATCH] auto save --- diy1.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 diy1.py diff --git a/diy1.py b/diy1.py new file mode 100644 index 0000000..101a690 --- /dev/null +++ b/diy1.py @@ -0,0 +1,7 @@ +# 玩家出拳 +player=input("出石头 / 剪刀 / 布") +print("玩家出"+player) +import random +last=["石头","剪刀","布"] +lettle=random.choice(last) +print("电脑出"+lettle) \ No newline at end of file -- libgit2 0.25.0