def get_formated_name(first_name,last_name,middle_name=""):
    if middle_name:
        full_name=first_name + " " + middle_name + " " + last_name
    else:
        full_name=first_name + " "  + last_name
    return full_name.title()
db989b7f58061fdf29d639c15b9dfa63cb4ba382
<mask token>

def get_formated_name(first_name, last_name, middle_name=''):
    if middle_name:
        full_name = first_name + ' ' + middle_name + ' ' + last_name
    else:
        full_name = first_name + ' ' + last_name
    return full_name.title()

def get_formated_name(first_name,last_name,middle_name=""):
    if middle_name:
        full_name=first_name + " " + middle_name + " " + last_name
    else:
        full_name=first_name + " "  + last_name
    return full_name.title()