Commit 7ad0b735 by BellCodeEditor

save project

parent e8ebfc55
Showing with 1 additions and 1 deletions
...@@ -7,7 +7,7 @@ print(computer) ...@@ -7,7 +7,7 @@ print(computer)
if sd in list: if sd in list:
if sd==computer: if sd==computer:
print("平局") print("平局")
elif (sd=="石头"and computer=="剪刀")or(sd=="剪刀"and computer=="布")or (sd=="布"and computer=="石头") elif (sd=="石头"and computer=="剪刀") or (sd=="剪刀"and computer=="布")or (sd=="布"and computer=="石头"):
print("获胜") print("获胜")
else: else:
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