def baby_names_collapsed_from_list(a_baby_names_list):
    """
    a_baby_names_list is a list of lists, each element [name, rank]
    Collapse list element to a string
    """
    print('baby_names_collapsed_from_list')

    baby_names_collapsed = []
    for baby_element in a_baby_names_list:
        baby_names_collapsed.append('{} {}'.format(baby_element[0], baby_element[1]))

    #print(baby_names_collapsed)
    return baby_names_collapsed