Partition. Have fun solving problems with Python!
Break a list into 'n' pieces. The last list may be larger than the rest if the list doesn't break cleanly.

Craig Derington

Full Stack Developer. Linux, Docker, Python, Celery, Flask, Django, Go, MySQL, MongoDB and Git. Modern, secure, high-performance applications capable of processing millions of transactions a day.

comments powered by Disqus