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.
Kinda had to cop out on validation on this one... since it ending up ignoring my conditoional at the top of the function block and continued execution... but it does work
This is doable without any kind of loop....
Took me a while
Aye but I found a way to condense mine a bit, nothing near the extent of those top solutions though.
This was nice.
This comment is hidden because it contains spoiler information about the solution
wow nearly 3 hours of work could have been reduced to a measely 1 minute. Atleast I know those methods exist now, I just hope I don't forget that they do before the time comes when I actually need to use them.
well this took hours... might have been done sooner if I used google rather than brain storm and trial and error... but I wanted to try only using my problem solving skills. Now to add comments.
So this is codewars. I know I just recently started learning programming and all but, man do I feel inadequate. At least I managed to get it right. funnily enough my soultion to my problem didn't come from the description...