Commit 5ae7f265 by BellCodeEditor

save project

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