def apply_function(funct, value, iterations):
    """
    Example of a function that takes another function as an argument
    """
    for index in range(iterations):
        value = funct(value)

    return value