結果 : sum of n numbers using for loop in python