結果 : python iterate over first n elements