From 5f0e8712b4f1621a1e026e7b4213b2429e586040 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 13 Nov 2021 15:08:46 +0800 Subject: [PATCH] save project --- diy1.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/diy1.py b/diy1.py index c432e81..8544d91 100644 --- a/diy1.py +++ b/diy1.py @@ -1,3 +1,7 @@ # 玩家出拳 player=input("请出拳") -print("玩家出拳:"+player) \ No newline at end of file +print("玩家出拳:"+player) +import random +list("石头,剪刀,布") +computer=(random.choice()) +print("计算机出拳:"+computer) \ No newline at end of file -- libgit2 0.25.0