def getAverage(items):
    """
    Gets the average amount in a list.

    Args:
        items (list): must contain floats or integers.

    Returns:
        (integer, float): average of all the items in list.
    """
    return sum(items) / len(items)