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.
OK, thanks for your suggestion!
I'd say readability is more important, unless you know a given piece of code is going to be a hotspot, in which case optimizing it for runtime would be more important (with proper documentation to describe the optimization if it is non-obvious).
What I like in Python is that, once you are at easy with it, and that doesn't take too long, readability correlates many times with code succintness. Paraphrasing Eistein, "make it as short as possible, but not shorter"...
which is more important? less code? less runtime?
the return value of "1025292944081385001" should be 45001, but yours is -1
come on! it is wrong!
This comment is hidden because it contains spoiler information about the solution