Skip to content

amhsirak/flatifyLists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flatifylists

Flatten nested Python lists into single-depth lists

Installation

pip install flatifylists

Example

from flatifylists import flatifyList

example = [[[1,2], [3,[4,[5],6],7],8,9]]

print(flatifyList(example))

# Output: [1, 2, 3, 4, 5, 6, 7, 8, 9]

License

MIT Karishma Shukla

Releases

No releases published

Packages

No packages published

Languages