get the first element of each tuple in a list in python,res_list = [x[0] for x in rows]