def get_formatted_name(first_name: str, last_name: str, middle_name: str='')->str:
    """Return a full name, neatly formatted."""
    if middle_name:
        full_name: str = f"{first_name} {middle_name} {last_name}"
    else:
        full_name: str = f"{first_name} {last_name}"
    return full_name.title()

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

musician: str = get_formatted_name('john', 'hooker', 'lee')
print(musician)