Ad
  • Custom User Avatar

    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.

  • Custom User Avatar

    No, in one of the tests there is a space where there shouldn't be. I didn't say it was in the instructions

  • Custom User Avatar

    It says that there needs to be a space after the last word in the output...

    Where? There's nothing like that in the description.

  • Custom User Avatar

    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

  • Custom User Avatar

    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.

  • Custom User Avatar

    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

  • Custom User Avatar

    I think there is an issue with this kata

    No, but there are a lot of issues with your code. Both lines of num.toString... and Number... 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).

  • Custom User Avatar

    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.

  • Custom User Avatar

    Same here. Can't seem to figure out the issue. Looks like many other people are having the same problem