結果 : print first n elements of list python