def decorator_one(func):
def wrapper(*args, **kwargs):
return f"One({func(*args, **kwargs)})"
return wrapper
def decorator_two(func):
def wrapper(*args, **kwargs):
return f"Two({func(*args, **kwargs)})"
return wrapper
@decorator_one
@decorator_two
def say_hello(name):
return f"Hello, {name}"
print(say_hello("Python"))
#Python #Senior