Partition. Have fun solving problems with Python!

partition.py
Break a list into 'n' pieces. The last list may be larger than the rest if the list doesn't break cleanly.

Craig Derington

Secular Humanist, Libertarian, FOSS Evangelist building Cloud Apps developed on Red Hat Enterprise Linux and Ubuntu Server. My toolset includes Python, Celery, Flask, Django, MySQL, MongoDB and Git.

comments powered by Disqus