From df64ab7daf03c26d2629489984cb6733ddd07d81 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 18 Mar 2023 10:36:23 +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..aab8303 --- /dev/null +++ b/diy1.py @@ -0,0 +1,6 @@ +import random +player=input("请出拳:石头/剪刀/布")# 玩家出拳 +print("玩家出拳:"+player) +list=["剪刀","石头","布"] +j=random.choice(list) +print("机器人出拳:"+j) \ No newline at end of file -- libgit2 0.25.0