You need to sign in or sign up before continuing.
Commit 1f264327 by BellCodeEditor

save project

parent ae022672
Showing with 1 additions and 1 deletions
......@@ -6,7 +6,7 @@ print("您出的是:"+player)
list["石头","剪刀","布"]
computer=random.choice(list)
print("电脑出拳:"+computer)
if :computer==player:
if computer==player:
print("平局")
elif computer=="石头" and player=="布":
print("win")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment