from functools import reduce


def get_average(lst):
    """
    Function to compute the average of a list of values.

    Arguments:
        list of values: In this case these are timedelta objects

    Returns:
        average: Average value of the timedelta objects
    """
    average = reduce(lambda a,b: a + b, lst) / len(lst)
    return average