Commit a0b90e29 by BellCodeEditor

save project

parent 7d57df90
Showing with 4 additions and 3 deletions
import random
playr=input("请出拳:石/剪/布")
print("玩家出拳"+playr)
asdw=["石","剪","布"]
asdw1=random.choice(asdw)
print(asdw1)
if playr in asdw:
print("玩家出拳"+playr)
print(asdw1)
if (playr=="石"and asdw1=="剪") or( playr=="剪"and asdw1=="布") or( playr== "布" and asdw1=="石"):
print("555你赢了")
elif playr==asdw1:
......
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