Algorithms(4th edition) by Robert Sedgewick and Kevin Wayne exercises in python
Algorthms(4th edition) by Robert Sedgewick and Kevin Wayne exercises in python, all modules can be executed with doctest. Current Python Version is 3.6+, Python 2 will be not supported soon, if you're using Python 2, please switch to Python 3. Those non-programming exercises are not excluded, more exercises will be added in the future.
More python algorithms can be found in here
To excute doctest test cases in modules. Please run
python -m doctest -v module_x_y.py.