Commit 9c0efb0d by BellCodeEditor

save project

parent 645a661b
Showing with 2 additions and 0 deletions
...@@ -13,5 +13,7 @@ elif player=="剪刀" and computer=="布": ...@@ -13,5 +13,7 @@ elif player=="剪刀" and computer=="布":
print("你赢了") print("你赢了")
elif player=="布" and computer=="石头": elif player=="布" and computer=="石头":
print("你赢了") print("你赢了")
elif player not in list:
print("你打错了")
else: else:
print("你输了") 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