list-flatten
list-flatten is a Python library used to flatten a list of lists. Works for 2d and 3d lists.
Installation
Use the package manager pip to install list-flatten.
pip install list-flatten
Usage
import list-flatten as flatten_list2darr
print(flatten_list2darr([[1,2], [3,4,5]]))
print(flatten_list3darr([[[1,2], [3,4], [5,6,7]]]))
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.
Please make sure to update tests as appropriate.
[MIT](https://choosealicense.com/licenses/mit/)