Making a flat list out of list of lists,list(itertools.chain(*list2d))