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.
You don't need to pass anything to split: split will split on whitespace by default.
No need for double quotes. A single-quoted strings don’t process ASCII escape codes, and they don’t do string interpolation while double-quoted does both.
That is DRY ideology :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It should be solved now; if not, let me know!
Comparison?
I have no trailing/leading spaces, and the code returns exactly what is expected.
Similar thing happens with this:
Is there an issue with the Ruby version? I'm getting this error on Submit, I'm sure it is part of the test that I'm failing, but it happens even when the entire function is commented out.