結果 : how to break an if statement python