Commit 75ee6024 by BellCodeEditor

save project

parent 4c3e31eb
Showing with 16 additions and 2 deletions
a=input("出拳请您:") import random
print("出拳"+a) while True:
a=input("出拳请您:")
print("出拳"+a)
list=["1","2","3"]
b=random.choice(list)
print("jsj:"+b)
if a==b:
print("p")
elif (a==1 and b==3) or (a==2 and b==1) or (a==3 and b==2):
print("s")
else:
print("w")
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