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.
duplicate
It's ranked
5kyu
because it's a very simple parser exercise. If you're writing too much code, perhaps you need to learn new skills to reduce code footprint ;-)Also you should be re-using the code from the last exercise for this.
You have added an unnecessary newline at the very end, but everything else seems ok. See at the photo? :)