Ad
  • Default User Avatar

    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'

  • Custom User Avatar

    You have to work with words, as I already said here.

  • Default User Avatar

    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.

  • Custom User Avatar

    Are you talking about the sample tests? Please, state the input, the expected output and why you think it is wrong.

  • Default User Avatar

    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.

  • Default User Avatar

    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.

  • Custom User Avatar

    But the test cases for multiple words are wrong.

    No, and it's been said many times, you have to do it by word, see the in each word in the sentence:

    all even indexed characters in each word upper cased, and all odd indexed characters in each word lower cased.

    So you start counting again with each new word.

  • Default User Avatar
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution