Commit 12c74980 by BellCodeEditor

save project

parent 5ca26688
Showing with 5 additions and 0 deletions
...@@ -4,3 +4,7 @@ elif player=="石头" and compile=="剪刀": ...@@ -4,3 +4,7 @@ elif player=="石头" and compile=="剪刀":
print("恭喜你,获胜了!") print("恭喜你,获胜了!")
elif player=="布" and compile=="石头": elif player=="布" and compile=="石头":
print("恭喜你,获胜了!") print("恭喜你,获胜了!")
elif player==compile:
print("平局")
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