Python list of tuples to list of int,y = (i[0] for i in x)