Junior — Senior
Decorator for measuring the execution duration of a function
livecode
Task condition
Develop a decorator that measures and outputs the execution time of the wrapped function. Each time it is called, it should print how long the execution took, displaying the result in seconds with millisecond precision. The decorator should work correctly with functions of any set of parameters.