結果 : exit nested if statement python