結果 : code for sum of n natural numbers in python