結果 : how to break out of only one nested loop python