def list_of_list_to_list(listoflist):
    """
    Transforms a list of lists in a single list.
    params:
        listoflist: the list of lists
    """
    singlelist = []
    for xlist in listoflist:
        for xelem in xlist:
            singlelist.append(xelem)

    return singlelist