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.
Additionally, the tests expect single spaces between the resulting words, even though cases may be generated that result in chunks of multiple space characters after removing punctuation.
python new test framework is required. updated in this fork
Python random tests generate test inputs with spaces at the end of the string, and expect these spaces to be stripped. The instructions for this Kata make no mention of this requirement.
It is language dependent, things like nill, undefined, etc. As JS can basically do odd things, there really are no invalids, hence you strip all falsy, only in JS.
Help us help you. At the very least tell us what language you're having this issue with. Preferably include the relevant literal text of the message.
Closing.
YOU DO NOT MANIPULATE THE ITERATOR WITHIN A LOOP(IF YOU DO NOT KNOW THE CONSEQUENCES)! ;-)
That's just the point, we do not always know the consequences of manipulating the iterator. ;)
If we know the consequences of manipulation, why not?
^_^
Author said:
So our goal is to change a place, let the function work, right?
As your solution, should be called override or refactor
@_@
In fact, the most important reason is that we are lazy, we do not know shame
:D:D:D
Whoever voted for "best practice" should be ashamed of themselves. YOU DO NOT MANIPULATE THE ITERATOR WITHIN A LOOP! Yes, this is all caps because a sentence like this justifies the use of all caps. :P
About the only thing worse than doing this would be to jump out of a loop with a goto.
Cool, didn't see the spoiler option, corrected.
BTW, you should mark your code as having spoiler content at next time.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Nice, thanks!
I have updated the python random tests to only use _.,?! for punctuation.
Loading more items...