Commit f94dce46 by BellCodeEditor

save project

parent b2527cca
Showing with 1 additions and 1 deletions
......@@ -2,10 +2,10 @@ import random
pleyer=input("你出")
s=["剪刀","布","石头"]
computer=random.choice(s)
print(computer)
if not pleyer in s:
print("你是SB吗?这是石头剪刀布!")
else:
print(computer)
if (pleyer=="剪刀" and computer=="布") or (pleyer=="布" and computer=="石头") or (pleyer=="石头" and computer=="剪刀"):
print("你赢了^_^")
else:
......
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