DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to concatenate all list inside list
>>> x = [["a","b"], ["c"]] >>> [inner ... for outer in x ... for inner in outer] ['a', 'b', 'c']
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#concatenate
#list
#list
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit