From f9eff68ddb1bc1d37e2e94db70f30963e24c407d Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 1 Aug 2021 14:58:54 +0800 Subject: [PATCH] save project --- diy1.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/diy1.py b/diy1.py index d17f5c6..833ac7d 100644 --- a/diy1.py +++ b/diy1.py @@ -1,3 +1,7 @@ # 玩家出拳 player=input("请") -print("") \ No newline at end of file +print("") +import random +list=["石头","剪刀","布"] +computer=random.choice(list) +print(computer) \ No newline at end of file -- libgit2 0.25.0