print_registry = []


def register(func):
    print_registry.append(func.__name__)

    return func

    # def appender(*args):
    #
    #     return print_registry.append(func.__name__)
    #
    # return appender


@register
def greet(name):
    return "Greetings {}!".format(name)


def say_hello(name):
    return "Hello {}!".format(name)


@register
def say_goodbye(name):
    return "Goodbye {}!".format(name)


greet("Edi")
say_hello("Hello!")
say_goodbye("BBye!")
print(print_registry)

46bb4a65022aee7ba691b46cf04e8c7d1c121482
<mask token>


def register(func):
    print_registry.append(func.__name__)
    return func


<mask token>


def say_hello(name):
    return 'Hello {}!'.format(name)


<mask token>

<mask token>


def register(func):
    print_registry.append(func.__name__)
    return func


<mask token>


def say_hello(name):
    return 'Hello {}!'.format(name)


@register
def say_goodbye(name):
    return 'Goodbye {}!'.format(name)


<mask token>

<mask token>


def register(func):
    print_registry.append(func.__name__)
    return func


@register
def greet(name):
    return 'Greetings {}!'.format(name)


def say_hello(name):
    return 'Hello {}!'.format(name)


@register
def say_goodbye(name):
    return 'Goodbye {}!'.format(name)


greet('Edi')
say_hello('Hello!')
say_goodbye('BBye!')
print(print_registry)

print_registry = []


def register(func):
    print_registry.append(func.__name__)
    return func


@register
def greet(name):
    return 'Greetings {}!'.format(name)


def say_hello(name):
    return 'Hello {}!'.format(name)


@register
def say_goodbye(name):
    return 'Goodbye {}!'.format(name)


greet('Edi')
say_hello('Hello!')
say_goodbye('BBye!')
print(print_registry)

print_registry = []


def register(func):
    print_registry.append(func.__name__)

    return func

    # def appender(*args):
    #
    #     return print_registry.append(func.__name__)
    #
    # return appender


@register
def greet(name):
    return "Greetings {}!".format(name)


def say_hello(name):
    return "Hello {}!".format(name)


@register
def say_goodbye(name):
    return "Goodbye {}!".format(name)


greet("Edi")
say_hello("Hello!")
say_goodbye("BBye!")
print(print_registry)
