From 980b72a883e5eff431d2d20e27ccf2cb538b7ce1 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 9 Oct 2020 19:51:34 +0800 Subject: [PATCH] save project --- diy1.py | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/diy1.py b/diy1.py index 2ac3aaa..57d2487 100644 --- a/diy1.py +++ b/diy1.py @@ -1,14 +1,8 @@ -# 玩家出拳 -import random -player=input("玩家先出拳:石头/剪刀/布") -print("玩家出拳"+player) +username="python" +userpassed="123456" +name=input("请。。。") +print("请。。。。。") -list=["石头,剪刀,布"] -com=random.chmoice(list) -print("电脑出拳:"+com) -if player==com: - plant("平局") - -elif player=="石头"and com=="剪刀": - print("玩家赢") +if : +print("") \ No newline at end of file -- libgit2 0.25.0