From f8871c9353dd26d7054c9df65c65e3b80c34725e Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 20 Apr 2024 10:48:12 +0800 Subject: [PATCH] save project --- diy1.py | 0 diy2.py | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 diy1.py create mode 100644 diy2.py diff --git a/diy1.py b/diy1.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/diy1.py diff --git a/diy2.py b/diy2.py new file mode 100644 index 0000000..c8e7512 --- /dev/null +++ b/diy2.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