Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

combining list of list to single list python

import itertools
a = [['a','b'], ['c']]
print(list(itertools.chain.from_iterable(a)))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #combining #list #list #single #list #python
ADD COMMENT
Topic
Name
6+9 =