def avg(l):
    """Returns the average of a list of numbers

    Parameters
    ----------
    l: sequence
        The list of numbers.

    Returns
    -------
    float
        The average.
    """
    return sum(l) / float(len(l))
