From 09e271fa2c2097b2a8152e0c1a06eccf20319457 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 28 Feb 2021 09:39:24 +0800 Subject: [PATCH] auto save --- diy1.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/diy1.py b/diy1.py index 5ffde25..72bbceb 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=["石头","剪刀","布"] +classput=random.choice(list) +print(classput) \ No newline at end of file -- libgit2 0.25.0