Answers for "combine a list of lists into one list"

0

merge lists in list python

import itertools
a = [['a','b'], ['c']]
print(list(itertools.chain.from_iterable(a)))
Posted by: Guest on June-03-2020

Code answers related to "combine a list of lists into one list"

Python Answers by Framework

Browse Popular Code Answers by Language