def mean(iterable):
    """Calculates the mean of the given iterable

    Parameters
    ----------
    iterable: int, float
        an iterable of ints or floats

    Returns
    -------
    float
        the arithmetic mean of the iterable
    """
    return sum(iterable)/len(iterable)