Commit a164c3f3 by BellCodeEditor

save project

parent bf0552cb
Showing with 4 additions and 6 deletions
import random
a=input("石头/剪刀/布")
print("玩家出拳"+a)
print(a)
d=["石头,剪刀,布"]
d=random.choice()
print(d)
if a in d :
u=["石头,剪刀,布"]
d=random.choice(u)
print(u)
if a in u :
if a==d:
print("平局")
elif a=="石头" and d=="剪刀":
......
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