From 3f7c8904e70cb92338e08c64c35780d458516c30 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 24 Feb 2023 20:05:29 +0800 Subject: [PATCH] save project --- 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..339d0e4 --- /dev/null +++ b/diy1.py @@ -0,0 +1,6 @@ +play=input("玩家出拳(剪刀、石头、布)") +input("玩家出拳"+play) +from random import* +list = ["剪刀","石头","布"] +computer=choice(list) +print("电脑出拳"+computer) \ No newline at end of file -- libgit2 0.25.0