Commit 5e53b810 by BellCodeEditor

save project

parent bef5258e
Showing with 14 additions and 9 deletions
......@@ -4,16 +4,20 @@ 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("你赢了")
if bianling in list:
if bianling==jsj:
print("平局 斤斤计较")
elif (bianling=="剪刀"and jsj=="布"):
print("你赢了")
elif (bianling=="布"and jsj=="石头"):
print("你赢了")
elif (bianling=="石头"and jsj=="剪刀"):
print("你赢了")
else:
print("你伤害了我")
else:
print("你伤害了我")
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