Commit b2aaa234 by BellCodeEditor

save project

parent fcf65311
Showing with 6 additions and 4 deletions
player=input("请出拳(石头/剪刀/布):")
print("玩家出拳:"+player)
p=input("请出拳(石头/剪刀/布):")
print("玩家出拳:"+p)
import random
b=["石头","剪刀","布"]
print("SB出:"+random.choice(b))
c=random.choice(b)
print("SB出:"+c)
if p=c
print("平局")
......
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