Algorithms(4th edition) by Robert Sedgewick and Kevin Wayne exercises in python
<a href="http://algs4.cs.princeton.edu/home/">Algorthms(4th edition) by Robert Sedgewick and Kevin Wayne</a> 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 <a href="http://interactivepython.org/runestone/static/pythonds/index.html">here</a>
To excute doctest test cases in modules. Please run `python -m doctest -v module_x_y.py`.