Commit 0f936828 by BellCodeEditor

save project

parent 220fe62b
Showing with 13 additions and 0 deletions
player=input("s/b/x")
print("玩家"+player)# 玩家出拳
import random
list=["s","b","x"]
computer=random.choice(list)
print(computer)
if piayer==computer:
print("平局")
elif (piayer=="s"and computer=="x" or(piayer=="b"and computer=="x" or(player=="b"and computer=="s")
print(你赢了)
eise:
print(你输了)
\ 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