From bb68957965c7831f9bb96f487e3b66bb55b9d328 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Mon, 3 Aug 2020 15:11:22 +0800 Subject: [PATCH] auto save --- diy1.py | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 diy1.py diff --git a/diy1.py b/diy1.py new file mode 100644 index 0000000..1794d8f --- /dev/null +++ b/diy1.py @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +import random +player=input("请玩家出拳/剪刀/布")# 玩家出拳 +print("玩家出拳:"+player) + +list=("石头/剪刀/布") +computer=random.choice(last) +print("计算机出拳:"+computer) \ No newline at end of file -- libgit2 0.25.0