human
Python list of tuples to list of int
assistant
Here is some code to convert list `x` into a flat list

y = map(operator.itemgetter(0), x)

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