Commit 165d6a0d by BellCodeEditor

save project

parent 6f3cf3e7
Showing with 3 additions and 2 deletions
...@@ -8,4 +8,5 @@ if player==a: ...@@ -8,4 +8,5 @@ if player==a:
print("平局") print("平局")
elif (player=="石头" and a=="剪刀") or (player=="剪刀" and a=="布") or (player=="布" and a=="石头"): elif (player=="石头" and a=="剪刀") or (player=="剪刀" and a=="布") or (player=="布" and a=="石头"):
print("玩家获胜") print("玩家获胜")
else: print("计算机获胜") else:
\ 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