Commit 70d1690e by BellCodeEditor

save project

parent 8dbbe69c
Showing with 9 additions and 5 deletions
......@@ -5,9 +5,12 @@ zhizhang=random
list=["剪刀","石头","布"]
zhizhang=random.choice(list)
print("电脑输入"+zhizhang)
if shabi==zhizhang:
print("平局")
elif (shabi=="石头"and zhizhang=="布")or(shabi=="布" and zhizhang=="石头" )or(zhizhang=="剪刀"and zhizhang=="布"):
print("你赢了")
if shabi in list:
if shabi==zhizhang:
print("平局")
elif (shabi=="石头"and zhizhang=="布")or(shabi=="布" and zhizhang=="石头" )or(zhizhang=="剪刀"and zhizhang=="布"):
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