python turn list of lists into list code example Example: convert list of list to list python merged = list(itertools.chain.from_iterable(list2d))