DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+7 =
Submit