結果 : get first n elements in list python