Commit 522cd8b7 by BellCodeEditor

auto save

parent 4295933c
Showing with 0 additions and 4 deletions
...@@ -5,6 +5,3 @@ import random ...@@ -5,6 +5,3 @@ import random
list=["石头","剪刀","布"] list=["石头","剪刀","布"]
compuyer+random.choice(list) compuyer+random.choice(list)
print(compuyer) print(compuyer)
if player==computer:
print("平局)
elif (player=="石头"and computer=="剪刀")or(player=="剪刀")
\ No newline at end of file
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