結果 : python sum first n elements in list