結果 : sum of squares of array elements in python