結果 : sum of n natural numbers code in python