結果 : select first n elements of list python