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