結果 : take first n elements of list python