#Code: import itertools a = [[1, 2], [3, 4], [5, 6]] b = list(itertools.chain.from_iterable(a)) print(b) #Output: [1, 2, 3, 4, 5, 6] -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://mail.python.org/pipermail/chennaipy/attachments/20240208/a45cf4ce/attachment.html>