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