Commit d96f5ba2 by BellCodeEditor

save project

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