Commit ef0b835c by BellCodeEditor

save project

parent 52018743
Showing with 26 additions and 2 deletions
q=input(") q=input("请出拳")
\ No newline at end of file print("玩家出:"+q)
input random
t=["石头","剪刀","布"]
y=random.chioce()
print("电脑出"+y)
if a in q==y:
print("平局")
elif (q=="石头" and y=='剪刀') or (q=='剪刀' and y=="布") 布石头
print(")
\ No newline at end of file
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