Junior — Senior
Decorator-memoization for functions
livecode
Task condition
It is necessary to implement a decorator in Python that will save the result of a function in cache. When the function is called again with the same parameters, it should return the value from the cache instead of executing the function again.
def memoize(target):
# TODO: implement caching decorator
pass