From 900fe83b6ae02d918856a8d4fc196509544d177c Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 15 Apr 2022 19:48:55 +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..fad6e2a --- /dev/null +++ b/diy1.py @@ -0,0 +1,7 @@ +player=input("石头,剪刀,布:") +print(player) +import random +life=("石头","剪刀","布") +computer=random.choice(life) +computer=random.choice +print("计算机出拳"computer) -- libgit2 0.25.0