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.
This works, but it's best to have a default case in switch statements imo
No kidding. The [currency] or was it [other currency] format was kind of funny, but I felt confused about what I was supposed to find, and what m & n stood for.
This comment is hidden because it contains spoiler information about the solution
The only difference between this one and the top answer is that you changed the variable name within the function from 'input' to 's'. Not sure if there was any reason behind that, I can't imagine it makes anything more efficient?