Commit d96f5ba2 by BellCodeEditor

save project

parent ae7c26d5
Showing with 10 additions and 8 deletions
......@@ -4,12 +4,14 @@ import random
list1=["剪刀","石头","布"]
nnnnb=random.choice(list1)
print(nnnnb)
if You_are_shabby in list1:
if You_are_shabby == nnnnb:
print("平局")
elif (You_are_shabby=="石头" and nnnnb=="剪刀")or(You_are_shabby=="剪刀" and nnnnb=="布")or(You_are_shabby=="布" and nnnnb=="石头"):
print("ctmd 你赢了")
while True:
if You_are_shabby == nnnnb:
print("平局")
elif (You_are_shabby=="石头" and nnnnb=="剪刀")or(You_are_shabby=="剪刀" and nnnnb=="布")or(You_are_shabby=="布" and nnnnb=="石头"):
print("ctmd 你赢了")
else:
print("哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈,耗子尾汁吧,年轻人")
else:
print("哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈,耗子尾汁吧,年轻人")
else:
print("你个sb!输错了!!!")
\ No newline at end of file
print("你个sb!输错了!!!")
\ 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