DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
make a nested list flat python
def flatten(t): return [item for sublist in t for item in sublist]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#nested
#list
#flat
#python
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit