Commit 1d8e4aa4 by BellCodeEditor

save project

parent bba1114d
Showing with 19 additions and 5 deletions
# 玩家出拳
import random
h=input("复合肥料")
print("傻逼贝出"+h)
list=["小贝","傻逼贝","脑残贝"]
print("悟空出"+random.choice(list))
bianling=input("玩家出拳:(剪刀/石头/布)")
print("玩家出拳:"+bianling)
list=["剪刀","石头","布"]
jsj=random.choice(list)
print("jisuanjichuquan:"+jsj)
if bianling==jsj:
print("平局 斤斤计较")
elif (bianling=="剪刀"and jsj=="布"):
print("你赢了")
elif (bianling=="布"and jsj=="石头"):
print("你赢了")
elif (bianling=="石头"and jsj=="剪刀"):
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