code: def variance(array):
      
      if len(array) < 2:
          return 0
      u = mean(array)
      return sum([(x - u) ** 2 for x in array]) / (len(array) - 1)
docs: Return the variance of a list of divisible numbers.