human
Convert list of tuples to list?
assistant
Here is some code to flatten list of tuples `a`

list(chain.from_iterable(a))

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