結果 : exit nested loop python