Commit 2d5080ba by BellCodeEditor

save project

parent 95f868a3
Showing with 2 additions and 0 deletions
...@@ -13,6 +13,8 @@ while True: ...@@ -13,6 +13,8 @@ while True:
print("玩家胜") print("玩家胜")
elif z=="布" and x=="石头": elif z=="布" and x=="石头":
print("玩家胜") print("玩家胜")
elif z not in i:
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