Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
realy, this is a shorter one, but i think u should read about backtracking in regex engine, it would make your solution a bad one, although it works well!
Thanks for the comment. I found the following link which helped me https://docs.python.org/2/library/functions.html#divmod
very clever!
i didn't know about divmod() until now!!