Junior — Senior
Decorator that outputs advertising text before the function result
livecode
Task condition
Create a universal decorator that, before returning the value of any function, outputs an advertisement message. The decorator should correctly handle functions with an arbitrary set of positional and keyword arguments, without altering their core logic. After applying the decorator, the original function should work as usual, but its output will be preceded by the advertising text specified inside the decorator.