Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

flatten lists python

flat_list = []
for sublist in l:
    for item in sublist:
        flat_list.append(item)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flatten #lists #python
ADD COMMENT
Topic
Name
7+7 =