How-to articles, tricks, and solutions about FLATTEN
How do I make a flat list out of a list of lists?
To create a flat list out of a list of lists, you can use the itertools.chain function from the itertools module in the Python standard library.
How to Flatten a Multidimensional Array?
You can use array_walk_recursive() function in PHP to flatten a multidimensional array.