Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how to flatten a list

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