Commit 39a33dd2 by BellCodeEditor

auto save

parent 3ba5f4e9
Showing with 2 additions and 2 deletions
...@@ -7,9 +7,9 @@ if plary in list: ...@@ -7,9 +7,9 @@ if plary in list:
print("电脑出:"+computer) print("电脑出:"+computer)
if plary==computer: if plary==computer:
print("平局") print("平局")
elif plary == "石头" and computer == "剪刀": elif plary == "剪刀" and computer == "石头":
print("恭喜,你赢了") print("恭喜,你赢了")
elif plary=="布" and computer=="石头": elif plary=="石头" and computer=="布":
print("恭喜,你赢了") print("恭喜,你赢了")
elif plary=="剪刀" and computer=="布": elif plary=="剪刀" and computer=="布":
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