<human>:  Making a flat list out of list of lists
<bot>: Here is some code to make a flat list from list of lists `list2d`

list(itertools.chain.from_iterable(list2d))

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