Commit 7ad0b735 by BellCodeEditor

save project

parent e8ebfc55
Showing with 1 additions and 1 deletions
......@@ -7,7 +7,7 @@ print(computer)
if sd in list:
if sd==computer:
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("获胜")
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