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.
if it works it works
Sorry! New to Codewars as of today, I didn't think those who haven't solved it yet could see the comments.
This comment is hidden because it contains spoiler information about the solution
Please use spoiler flag next time.
That's awesome. Clever but also readable and understandable enough so that I would use something like this in production.
This comment is hidden because it contains spoiler information about the solution
You forgot to remove the comment bro
Honestly the best solution here (except if you're doing validations). Very descriptive and straight forward.