結果 : get first n elements of a list python