結果 : python iterate over first n elements of list