def stddev(li, mean):
    if not li:
        return None
    return math.sqrt(sum(x*x for x in li) - mean*mean)
Calculate the standard deviation of a set of data.
dataset/ETHPy150Open artirix/logcabin/logcabin/statistics.py/stddev