import time


def timed_call(f, args):
    """Call function f with arguments args and time its run time.

    Args:
        f: The function to call
        args: The arguments to pass to f

    Returns:
        Return the result of the function call and how much time it takes as tuple e.g. (result, time).
    """
    start_time = time.time()
    result = f(*args)
    elapsed_time = time.time() - start_time
    return result, round(elapsed_time, 3)