結果 : sum of n numbers using array in python