Commit 6095618e by BellCodeEditor

save project

parent aa764f0f
Showing with 8 additions and 3 deletions
......@@ -4,5 +4,10 @@ a=random.choice(l)
print(l)
s=input("输入你出的:")
print(s)
\ No newline at end of file
print(a)
if (a=="剪刀" and s=="石头") or (a=="石头" and s=="布") or (a=="布" and s=="剪刀"):
print("你赢了")
elif a=s:
print("平局")
else:
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