Commit 522cd8b7 by BellCodeEditor

auto save

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