def timer(fn):

    def inner(*args):
        start = perf_counter()
        result = fn(*args)
        end = perf_counter()
        elapsed = (end - start)
        print(result)
        print('elapsed', elapsed)
    return inner
def timer(fn):

    def inner(*args):
        start = perf_counter()
        result = fn(*args)
        end = perf_counter()
        elapsed = (end - start)
        print(result)
        print('elapsed', elapsed)
    return inner