Commit 7c76c743 by BellCodeEditor

save project

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