human
Making a flat list out of list of lists
assistant
Here is some code to make a flat list from list of lists `list2d`

list(itertools.chain(*list2d))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.