From f82755ffb5a891493d9c8ecad2cb2da7d0cf9115 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 13 Jun 2021 11:52:12 +0800 Subject: [PATCH] save project --- 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..ceaf321 --- /dev/null +++ b/diy1.py @@ -0,0 +1,7 @@ +import random +abc=input("请出拳(石头·剪刀·布):") +print("玩家出"+abc) +list=["石头","剪刀","布"] +computer=random.choice(list) +print("计算机出拳中……") +print("计算机出"+computer) \ No newline at end of file -- libgit2 0.25.0