Commit 526ba677 by BellCodeEditor

save project

parent b5c6bbbe
Showing with 19 additions and 0 deletions
# 玩家出拳
import random
s=input("请玩家出拳:")
print(n)
n=["石头","剪刀","布"]
g=random.choice(n)
print(g)
if s in n:
if n==g:
print("平局")
elif (n=="石头" and g=="剪刀") or (n=="布" and g=="石头") or (n=="剪刀" and g=="布"):
print("你赢了")
else:
print("你输了")
else:
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