結果 : sum of squares in python