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