def print_function_name(func):
def _print_function_name(*args, **kwargs):
print(f"--> begin: {func.__name__}")
= func(*args, **kwargs)
result print(f"--> return: {func.__name__}")
return result
return _print_function_name