def total_sum_of_squares(y):
 return sum(((v ** 2) for v in de_mean(y)))

def total_sum_of_squares ( y ) : return sum ( ( ( v ** 2 ) for v in de_mean ( y ) ) )
the total squared variation of y_is from their mean .