def mean(iterable):
    a = iterable if isinstance(iterable, list) else list(iterable)
    return float(sum(a)) / (len(a) or 1)
Creates a new load balancer instance
dataset/ETHPy150Open clips/pattern/pattern/metrics.py/mean--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/loadbalancer/drivers/rackspace.py/RackspaceLBDriver.ex_create_balancer