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.
You are right. However, it's not an issue and the input comes from the random tests can be read by the test class. I changed it anyway.
I added the random tests but couldn't publish it so I tried to delete it but didn't have the access to do it. first world problems... :(
Thanks dolamroth! I didn't know how to do it and now having a look at it!
Nice solution, grats! However to challenge myself more and to please the Pure Python Gods, I rigorously avoid using imported modules unless the question specifies to do so (like in regex challenges)! And surely in the industry, I prefer yours to save time & money :D It's just nice to see these kind of solutions and also the pure python version (2nd best solution) down below. Oh btw, mine is the worst solution probably :(
This comment is hidden because it contains spoiler information about the solution
I always get excited after finding the solution and when I come here and see such one-line codes... *sigh*
Joking aside, it's quite instructional. Thanks!