Python Concatenate Список списков
x = [["a","b"], ["c"]]
result = sum(x, [])
Puzzled Peacock
x = [["a","b"], ["c"]]
result = sum(x, [])
>>> x = [["a","b"], ["c"]]
>>> [inner
... for outer in x
... for inner in outer]
['a', 'b', 'c']