Commit fbe924cd by BellCodeEditor

save project

parent 7db88c03
Showing with 0 additions and 17 deletions
f=input("请出拳")
printf
import random
list=["石头","剪刀","布"]
u=random.choice(list)
print(u)
if a in list:
if f==u:
print("平局")
elif (f=="石头" and u=="剪刀") or (f=="剪刀" and u=="布") or (f=="布" and u=="石头"):
print"你赢了"
else:
print("你输了")
else:
print("输出")
\ 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