Flatten nested Python lists into a single-depth list
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flatifylists-1.0.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for flatifylists-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7387e454d05da77661e8972ed193ec51e754728bf4b2eeb23b2ed185b5516cda |
|
MD5 | e1d0443123d1441c19ddca94c6845fd9 |
|
BLAKE2b-256 | f5a4ac75fe8c3f3379422374b0df96ef4023cc34951896b86392281b0582ff8d |