Question 9
Consider the following Python code snippet.
def modify(func): def wrapper(name): print("Before function execution") result = func(name) print("After function execution") return result return wrapper
@modifydef greet(name): return f"Hello, {name}!"
print(greet("Ram"))What will be the output of the code on the terminal?