The Python Oracle

Flatten an irregular (arbitrarily nested) list of lists

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Music Box Puzzles

--

Chapters
00:00 Flatten An Irregular (Arbitrarily Nested) List Of Lists
00:59 Accepted Answer Score 479
01:41 Answer 2 Score 68
01:57 Answer 3 Score 49
02:14 Answer 4 Score 47
02:36 Answer 5 Score 35
03:03 Thank you

--

Full question
https://stackoverflow.com/questions/2158...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #list #optimization #nestedlists #flatten

#avk47