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.
Yeah it looks like it shouldn't, and I was thinking the same thing. Apparently even though indexing out-of-bounds causes an error, the same isn't true for slicing.
As they say in Mac and Me: Pretty nice!
This comment is hidden because it contains spoiler information about the solution
If anyone else is having this issue - check which version of Python you are running in the drop-down menu above the editor - Python 2.x uses different syntax for quite a few things than Python 3.x
Oh, my, god.
I feel so silly now that I've seen other people's answers.
I was just so happy to actually get past the timeout problem that I didn't think to bother tidying up my code!
Man, the optimisation is what I'm enjoying most about this. Still not quite there though. It's a tricky one.