Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

combine list of lists python

x = [["a","b"], ["c"]]

result = sum(x, [])
# This combines the lists within the list into a single list
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #combine #list #lists #python
ADD COMMENT
Topic
Name
3+1 =