# Valores de retorno - devolvendo um valor simples:

def get_formatted_name(first_name, last_name, middle_name = ''):
    """Devolve um nome completo formatado de modo elegante"""
    if middle_name:
        full_name = first_name + " " + middle_name + " " + last_name
    else:
        full_name = first_name + ' ' + last_name
    return full_name.title()

musician = get_formatted_name('jimi', 'hendrix')
print(musician)

musician = get_formatted_name('jimi', 'hedrix', 'lee')
print(musician)
# Valores de retorno - devolvendo um valor simples:

def get_formatted_name(first_name, last_name, middle_name = ''):
    """Devolve um nome completo formatado de modo elegante"""
    if middle_name:
        full_name = first_name + " " + middle_name + " " + last_name
    else:
        full_name = first_name + ' ' + last_name
    return full_name.title()

musician = get_formatted_name('jimi', 'hendrix')
print(musician)

musician = get_formatted_name('jimi', 'hedrix', 'lee')
print(musician)
# Valores de retorno - devolvendo um valor simples: Devolve um nome completo formatado de modo elegante