Commit a267377f by BellCodeEditor

save project

parent 220fe62b
Showing with 13 additions and 0 deletions
import random
f=["石头","剪刀","布"]
u=input("石头,剪刀,布:")
print("khuj"+u)
a=random.choice(f)
print(f)
if a==u:
print("平局")
elif(a=="石头"and u=="布") (a=="剪刀"and u="石头") (a=="布" and u= 剪刀):
print("胜利")
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