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.
I had placed a few prints in my code a few different times just to test things were doing what I wanted them to do.
Perhaps they did the same and just forgot to take it out in the end?
No, have you imported it?
xrange
is python 2 and has the same behaviour asrange
in python 3 does. In python 2range(*args)
did whatlist(range(*args))
does in python 3 so for iteration (like the for loop),xrange
was the better choice.