python concatenate list of lists to single list code example
Example 1: merge lists in list python
import itertools
a = [['a','b'], ['c']]
print(list(itertools.chain.from_iterable(a)))
Example 2: python concatenate list of lists
x = [["a","b"], ["c"]]
result = sum(x, [])