import math


def std(lst):
    """
    Helper function that calculates the standard deviation of a numeric sequence
    """
    average = sum(lst) / float(len(lst))
    variance = sum(list(map(lambda x: (x - average) ** 2, lst))) / float(len(lst))
    stdev = math.sqrt(variance)

    return stdev