Commit 66eed5dc by BellCodeEditor

save project

parent 0ec801c8
Showing with 4 additions and 1 deletions
...@@ -13,5 +13,7 @@ if GG == jj: ...@@ -13,5 +13,7 @@ if GG == jj:
print("平局") print("平局")
elif (GG=="石头" and jj=="剪刀")or(GG=="剪刀" and jj=="布")or(GG=="布" and jj=="石头"): elif (GG=="石头" and jj=="剪刀")or(GG=="剪刀" and jj=="布")or(GG=="布" and jj=="石头"):
print("恭喜你,你赢了") print("恭喜你,你赢了")
else: elif (GG=="石头" and jj=="布")or(GG=="布" and jj=="剪刀")or(GG=="剪刀" and jj=="石头"):
print("很遗憾,你输了") 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