Commit 854e13f1 by BellCodeEditor

auto save

parent 5ae7f265
Showing with 2 additions and 17 deletions
import random import turtle
a=int(input("剪刀=1,石头=2,布=3")) a=turtle.Pen()
print("=",a)
l=[1,2,3]
b=random.choice(l)
print("c="+str(b))
if a in l:
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("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