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