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.