import itertools a = [[1, 2], [3, 4], [5, 6]] list(itertools.chain.from_iterable(a)) Output:- [1, 2, 3, 4, 5, 6]