i found the same issue and realized what was the problem... extremely hard to solve it)) as for me not 7ky
but, ty for this kata - forced to learn a bit
Please read the posts below, it's been asked and answered many times already. That string has a trailing space or a new line (hard to know without markdown).
Well, I was going to complain about this kata but it seem that a lot of people already did that lol. I think it's broken, and I spent almost an hour breaking my head trying to solve it
it is working.. so much reefs here..
i found the same issue and realized what was the problem... extremely hard to solve it)) as for me not 7ky
but, ty for this kata - forced to learn a bit
Please read the posts below, it's been asked and answered many times already. That string has a trailing space or a new line (hard to know without markdown).
Please read the posts below, it's been asked and answered many times already.
seems 1234 doesn work this way
Wrong output for '1234
': expected true to equal false
This comment is hidden because it contains spoiler information about the solution
122545 people who already solved this kata might disagree.
You transform each digit to a number and then check if it's not a number. This fails for some characters, e.g. white space.
Well, I was going to complain about this kata but it seem that a lot of people already did that lol. I think it's broken, and I spent almost an hour breaking my head trying to solve it