結果 : how to break out of if statement python