Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to concatenate all list inside list

>>> x = [["a","b"], ["c"]]
>>> [inner
...     for outer in x
...         for inner in outer]
['a', 'b', 'c']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #concatenate #list #list
ADD COMMENT
Topic
Name
1+3 =