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 comment is hidden because it contains spoiler information about the solution
I had a simmiliar solution.
One little detail: You don't need the else block when you are returning in the if block.
There is in test "The more he saw the less he spoke" double spaces (in JS version).
In JS too.
Print the input, those are two letters words, you're missing the
n
on both of them.Please excuse my ignorance but I'm not sure from the below what the [n 97n] part of this expected outcome is actually referring to? I can't think what random input would create this output.