From 8676e7c0ac68d2c11ac1350d4f079ff0398c45f1 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 13 Mar 2022 14:46:53 +0800 Subject: [PATCH] save project --- diy1.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/diy1.py b/diy1.py index 6154a4a..56e1fea 100644 --- a/diy1.py +++ b/diy1.py @@ -1,8 +1,8 @@ # 玩家出拳 player=input("玩家请出拳,剪刀/石头/布") print("玩家出拳"+player) - + import random -list=["石头","剪刀","布"] -computer=random.choice(list) -print("计算机出:"+computer) +cc=["石头","剪刀","布"] +o=random.choice(cc) +print("计算机出拳"+o) -- libgit2 0.25.0