Run
def mydecorator(fn): def inner_function(*args, **kwargs): print('Hello! ', end='') fn(*args, **kwargs) return inner_function @mydecorator def greet(name): print(name) greet('Ram!')
Output