結果 : sum of first n natural numbers using while loop in python