Commit 228e39d7 by BellCodeEditor

save project

parent 90a000fe
Showing with 4 additions and 2 deletions
...@@ -12,8 +12,10 @@ if player in list ...@@ -12,8 +12,10 @@ if player in list
print("你赢了") print("你赢了")
elif player == "布" and computer =="石头" elif player == "布" and computer =="石头"
print("你赢了") print("你赢了")
elif player == "布" and computer =="布" elif player == computer :
print("平手") print("平手")
else:
print("你输了")
print(yes,"你赢了") print(yes,"你赢了")
print(no,"你输了") print(no,"你输了")
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