Commit 42f596cc by BellCodeEditor

auto save

parent b5c6bbbe
Showing with 15 additions and 0 deletions
q=input("请出拳")
print("玩家出:"+q)
import random
t=["石头","剪刀","布"]
y=random.chioce(t)
print("电脑出"+y)
if q in t:
if q==y:
print("平局")
elif (q=="石头" and y=="剪刀") or (q=="剪刀" and y=="布") or (q=="布" and y=="石头"):
print("耶")
else:
print("哎")
else:
pring("????????????????????????")
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