Commit 9c985377 by BellCodeEditor

save project

parent 040d103b
Showing with 11 additions and 1 deletions
import random
a=int(input("剪刀=1,石头=2,布=3"))
b=random(1,3)
print("="+a)
l=[1,2.3]
b=random.choice(l)
print("c="+bb)
if a==b :
print("p")
else:
if (a==1 and b==2)or(a==2 and b==3)or(a==3 and b==1):
print("SB")
else :
print("yeah")
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