human
Python list of tuples to list of int
assistant
Here is some code to get a list `y` of the first element of every tuple in list `x`

y = [i[0] for i in x]

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