Answers for "how to concatenate list of lists in p"

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 "how to concatenate list of lists in p"

Python Answers by Framework

Browse Popular Code Answers by Language