def _variance(values):
 return (_mean([(v ** 2) for v in values]) - (_mean(values) ** 2))

def _variance ( values ) : return ( _mean ( [ ( v ** 2 ) for v in values ] ) - ( _mean ( values ) ** 2 ) )
calculate the variance for a list of integers .