Commit ae7c26d5 by BellCodeEditor

save project

parent 8267bc4e
Showing with 10 additions and 0 deletions
...@@ -4,3 +4,12 @@ import random ...@@ -4,3 +4,12 @@ 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 == 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("你个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