Commit 059d584c by BellCodeEditor

save project

parent 7afedbbf
Showing with 3 additions and 1 deletions
...@@ -9,9 +9,11 @@ if player==a: ...@@ -9,9 +9,11 @@ if player==a:
elif player=="石头" and a=="剪刀": elif player=="石头" and a=="剪刀":
print("你赢了") print("你赢了")
elif player=="剪刀" and a=="布": elif player=="剪刀" and a=="布":
print("你赢了")elif player=="石头" and a=="剪刀" print("你赢了")
elif player=="布" and a=="石头": elif player=="布" and a=="石头":
print("你赢了") print("你赢了")
else:
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