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.
If you talk about a space between the last word and a question/exclamation mark, then see the example in the kata's description. It's like that. Hence the Simple in the title.
No, in one of the tests there is a space where there shouldn't be. I didn't say it was in the instructions
Where? There's nothing like that in the description.
There is a mistake in one of the test inputs. It says that there needs to be a space after the last word in the output, but that is an error. Please fix so we can continue. This is in JavaScript
I have no idea what the author is asking me to do. Very unclear, vague instructions. Whenever I write instructions for students, I'm careful to word things so there's no ambiguity.
Lol I'm the same way. I enjoy seeing these one line solutions, though, because it helps me learn how to write more efficient code
No, but there are a lot of issues with your code. Both lines of
num.toString...
andNumber...
do absolutely nothing, because you don't assign those values anywhere. Those lines on their own change nothing. As a result, your loop never runs, because "num" is a number, not a string (and doesn't have.length
property).I think there is an issue with this kata. It says "expected +0 to equal [correct number]," every time, but when I copied my exact code into vscode and tested it myself, it gives the correct answer. Every time.
Same here. Can't seem to figure out the issue. Looks like many other people are having the same problem