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.
I see what you're thinking Chrono79 but it doesn't say anything about indexing each word and setting relative odd/even index value. Within the string index, characters either fall on odd or even, thus 'string with all even indexed characters...' is different from 'all even characters of index of words within the string'
You have to work with words, as I already said here.
ThIs Is A TeSt is the expected output for one of the tests. If we are not counting spaces, "TeSt" should be "tEsT". This is for the python tests by the way. Or if we are counting spaces, it should be "ThIs iS A TeSt". I'm still not really sure if we should be counting spaces or not.
Are you talking about the sample tests? Please, state the input, the expected output and why you think it is wrong.
I'd see the problem, and after seeing your comments I get it. I felt sorry if I sobrepassed my tone in this message. The 3rd TEST CASE for Python it's wrong, but the
kata it's finished without any problem. It's a little mistake in the Test but it's corret in general.
I'd see the problem, and after seeing your comments I get it. I felt sorry if I sobrepassed my tone in this message. The 3rd TEST CASE for Python it's wrong, but the
kata it's finished without any problem. It's a little mistake in the Test but it's corret in general.
No, and it's been said many times, you have to do it by word, see the in each word in the sentence:
So you start counting again with each new word.
whoops
This comment is hidden because it contains spoiler information about the solution