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.
Nope. That does not work.
A less ambiguous description would be "...but with all words of >= 5 characters, reversed". Made the same mistake
This comment is hidden because it contains spoiler information about the solution
The word "directions" has two possible meanings, "instructions" vs. "which ways you move".
You always walk only a single block in a direction
here simply assigns the distance walked per direction to one block. Each direction (instruction) is to be followed thus; independantly.Not an issue...
Print the input, e.g. in JS
console.log
it, PHPecho
, Pythonprint
, Rubyputs
, etc.Compare it to
null
?