結果 : how to break nested loops python