Search
 
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
Name
1+3 =