Commit abd52ae0 by BellCodeEditor

save project

parent d31f34fa
Showing with 5 additions and 1 deletions
...@@ -9,4 +9,8 @@ print(computer) ...@@ -9,4 +9,8 @@ print(computer)
if game==computer if game==computer
print("平局") print("平局")
elif (game=="石头" and computer=="剪刀")or(game=="布" and computer=="石头")or(game=="剪刀" and computer=="布") elif (game=="石头" and computer=="剪刀")or(game=="布" and computer=="石头")or(game=="剪刀" and computer=="布")
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