Commit 89d3ca46 by BellCodeEditor

save project

parent b863cbec
Showing with 1 additions and 1 deletions
......@@ -10,7 +10,7 @@ while True :
print("人机出," + s)
if wj == s:
print("平局")
elif (wj == "石头" and s == "剪刀") or (wj == "布" and s == "石头" ) or (wj == "剪刀"" and s == "") :
elif (wj == "石头" and s == "剪刀") or (wj == "布" and s == "石头" ) or (wj == "剪刀" and s == "布") :
print("你赢了")
else(wj == "石头" and s == "布")or (wj == "布" and s == "剪刀")or(wj == "剪刀" and s == "石头"):
print("你输了")
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