Commit e10b742e by BellCodeEditor

save project

parent bd53ffba
Showing with 2 additions and 2 deletions
import random
a=int(input("剪刀=1,石头=2,布=3"))
print("="+str(a))
l=[1,2.3]
l=[1,2,3]
b=random.choice(l)
print("c="+str(b))
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")
print("lose")
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