convert list `a` from being consecutive sequences of tuples into a single sequence of elements,list(itertools.chain(*a))