結果 : get first n elements from list python