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.
The description says explicitly how to handle that case, and what's the format of the output. Read it again carefully. Multiplying posts about the same topic is pointless and annoying.
Yeah
Finally seen
Answer below no?
I passed all the tests except two which give the following error:
['bdf', 'hjl', 'nps', 'eek'] should equal ['bdf', 'hjl', 'nps', 'eek', '']
['bdfh', 'jlnp', 'seek', '1234'] should equal ['bdfh', 'jlnp', 'seek', '1234', '']
The only difference being '' at the end which doesn't even count as a space.
Funny enough, there's a similar error that fixes itself after I attempt again.
Please any advice on how to fix this?
This part of the description?
(quotes added in order to see the strings and the spaces, your program won't write these quotes, see Example Test Cases)
My result: ['bdf', 'hjl', 'nps', 'eek']
The expected result: ['bdf', 'hjl', 'nps', 'eek', '']
Actually it's in the description ;)
I passed all the tests except two which give the following error:
['bdf', 'hjl', 'nps', 'eek'] should equal ['bdf', 'hjl', 'nps', 'eek', '']
['bdfh', 'jlnp', 'seek', '1234'] should equal ['bdfh', 'jlnp', 'seek', '1234', '']
The only difference being '' at the end which doesn't even count as a space.
Funny enough, there's a similar error that fixes itself after I attempt again.
Please any advice on how to fix this?