結果 : exit out of nested loop python