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.
My advice is to look into 'type coercion' and while you're at it, 'type conversion' and figure out the difference. It's quite interesting stuff.
how and why does this work ?
This comment is hidden because it contains spoiler information about the solution
What happens if n is not a number? It should have a check
Awesome. Never thought of regex
I thought I was being original, lol
Nice to hear that!
This comment is hidden because it contains spoiler information about the solution
i did the same but matched the 1 instead.
100% identical to mine.
Damn, I did literally same thing, it is 100% match. :O
you are awesome
you are welcome!
This comment is hidden because it contains spoiler information about the solution
This should be the top answer in my opinion. It's simple, readable and elegant!
Loading more items...