Questions
Log in
Sign up
Home
Questions
Tags
Public Questions for tag [flatten]
Ask Question
1 questions
0
Vote
4
Answers
21
View
How to make a flat list out of a list of lists
Is there a shortcut to make a simple list out of a list of lists in Python?I can do it in a for loop, but is there some cool "one-liner"?I tried it with functools.reduce():from functools import reduce
python
list
multidimensional-array
flatten
Jan 20
Shep Master
Tags
php
error-handling
array
javascript
webhooks
javascript-array
java
python