結果 : sum of array of n numbers in python