Skip to content

d1makov/py_flatten

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py_flatten

Write a function to flatten the nesting in an arbitrary list of values.

For example:

[[1, 2, [3, 4]], [3, 4], [[[5]]]] -> [1, 2, 3, 4, 3, 4, 5]

To deploy project on your local machine create new virtual environment and execute this command:

pip install -r requirements.txt

To run all style checkers and tests use commands:

pytest

flake8 flatten

pylint flatten

mypy flatten.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%