結果 : python array take first n elements