def measure_time(*args, **kwargs):
    t1 = time.time()
result = fn(*args, **kwargs)
t2 = time.time()
print('@timefn:' + fn.__name__ + ' took ' + str(t2 - t1) + ' seconds')
return result
Преимущества использования enumerate?