def reverse_decorator(func): def wrapper(text): make_reverse = "".join(reversed(text)) return func(make_reverse) return wrapper @reverse_decorator def format_message(text): return f'Text: {text}' print(format_message('Hallo'))