Commit f40b16bb by BellCodeEditor

save project

parent 725aacb6
Showing with 3 additions and 2 deletions
...@@ -8,8 +8,8 @@ print("电脑出拳:"+comput) ...@@ -8,8 +8,8 @@ print("电脑出拳:"+comput)
if play == comput if play == comput
print("平局") print("平局")
elif (player == "石头" and comput == "剪刀")or(player == "布" and comput == "石头")or(player == "剪刀" and comput =="布"): elif (player == "石头" and comput == "剪刀")or(player == "布" and comput == "石头")or(player == "剪刀" and comput =="布"):
print("你赢了") print("你赢了")
else: else:
("你输了") 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