結果 : sum of squares in python using for loop