Commit 172e9787 by BellCodeEditor

save project

parent 9b6faf02
Showing with 15 additions and 0 deletions
......@@ -4,3 +4,17 @@ import random
list=["剪刀","石头","布"]
w=random.choice(list)
print(w)
if wc==w:
print("你玩的一般!平局。")
elif (wc=="剪刀" and w=="布"):
print("你玩的很屁!你赢了。")
elif (wc=="石头" and w=="剪刀"):
print("你玩的很屁!你赢了。")
elif (wc=="布" and w=="石头"):
print("你玩的很屁!你赢了。")
elif (wc=="石头" and w=="布"):
print("你玩的很好!你输了。")
elif (wc=="剪刀" and w=="石头"):
print("你玩的很好!你输了。")
else (wc=="布" and w=="剪刀"):
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