Commit ee24a117 by BellCodeEditor

save project

parent 9342c8d5
Showing with 9 additions and 2 deletions
......@@ -7,4 +7,11 @@ print(computer)
if player in list:
if player == computer:
print("平局")
\ No newline at end of file
elif (piayer=="石头" and computer=="剪刀")or
(piayer=="剪刀" and computer=="布")or
(piayer=="布" and computer=="剪刀")
print("你赢了")
else:
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