import time


def func_timer(func):
    """Times how long the function took."""

    def f(*args, **kwargs):
        start = time.time()
        results = func(*args, **kwargs)
        elapsed_time = time.time() - start
        print(f"Elapsed: {elapsed_time:.2f}s")
        return(results)
    return(f)