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