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.
For some reason, when I tried to use the numpy solution, it passed the initial test, but failed the actual test. I did it the more drawn out method (for loop) to pass and then looked at the other solutions. I saw "import math" suggested, and so tried it with that approach, which worked. I wonder why numpy method didn't work for me...
:)
so wholesome
No, you can, but use spoiler flag, so it doesn't show in the home page to people that hasn't solved the kata yet.
spoiler