結果 : get first n elements list python