I\'m trying to learn Decorators . I understood the concept of it and now trying to implement it.
Here is the code that I\'ve written The code is se
What about this .
def wrapper(func): def inner(): if isinstance(func,int): return func(x, y) else: return 'invalid values' return inner()