Commit 1bbf0475 by BellCodeEditor

save project

parent 2cc92f25
Showing with 16 additions and 11 deletions
import random
player=input("出拳:拳头,剪刀,布")
print("玩家出拳",player)
list=["拳头","布","剪刀"]
fuuuuuck=random.choice(list)
print("只因算只因出拳",fuuuuuck)
if player == fuuuuuck:
print("平局")
elif player == "石头"and fuuuuuck=="剪刀"or player=="剪刀"and fuuuuuck=="布"or player=="布"and fuuuuuck=="石头":
print("你个傻逼")
else:
print("你还是傻逼")
while True:
player=input("出拳:拳头,剪刀,布")
print("玩家出拳",player)
list=["拳头","布","剪刀"]
fuuuuuck=random.choice(list)
print("只因算只因出拳",fuuuuuck)
if player in fuuuuuck:
if player == fuuuuuck:
print("平局")
elif player == "石头"and fuuuuuck=="剪刀"or player=="剪刀"and fuuuuuck=="布"or player=="布"and fuuuuuck=="石头":
print("你个傻逼")
else:
print("你还是傻逼")
else:
print("去你的,你个大傻逼")
\ No newline at end of file
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