Commit aea696d5 by BellCodeEditor

save project

parent 220fe62b
Showing with 12 additions and 0 deletions
f=input("请出拳")
printf
import random
list=["石头","剪刀","布"]
u=random.choice(list)
print(u)
if f==u:
print("平局")
elif (f=="石头" and u=="剪刀") or (f=="剪刀" and u=="布") or (f=="布" and u=="石头")
\ 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