Commit 7b434ad7 by BellCodeEditor

save project

parent 220fe62b
Showing with 12 additions and 0 deletions
import random
hu=input("出拳剪刀/石头/布")
print("玩家出拳 "+hu)
qwerty=["剪刀","石头","布"]
print("电脑出拳"+random.choice(qwerty))
if hu==qwerty:
print("平局")
elif hu="剪刀"qwerty="布"hu="石头"qwerty="剪刀"hu="布"qwerty="石头":
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