結果 : how to break out of two nested loops python