Ad
  • Custom User Avatar

    Your current solution still fails for cases that contain numeric characters (0-9) because they are considered valid characters but your code discards them

  • Custom User Avatar

    I'm working in JavaScript fyi
    thanks!

  • Custom User Avatar

    thank you for the resource page Chrono,

    regarding reverse command, I didn't use that in my solution, but I will try to debug and get back to you. still throwing the same error.

    thanks!

  • Custom User Avatar

    Is it possible that gsub! would return nil?
    What does your solution return for input "a"?

  • Custom User Avatar
  • Custom User Avatar

    This kata was decided to stay.

  • Custom User Avatar

    Error with this crappy message was displayed when a solution used reverse, which was disallowed by the kata. I removed the restriction, and you can now use any function you like. This error should not appear anymore. Can you try again and see if you still receive the message? If so, in what language?

  • Custom User Avatar

    Read this: https://docs.codewars.com/training/troubleshooting/#print-input and use console.log() instead of print() for javascript.

  • Custom User Avatar

    Hi! I need some help - I'm passing all tests except one that reads:
    "not in my house - Expected: false, instead got: true"
    Since I can't see what the input string is - I have no idea where I'm going wrong. I tried my code in another console with the input set to "not in my house" (I guess thats what the error message is saying is the input?) and I'm getting the expected output "false"
    I'd really like to log this kata - so any clues or tips would be appreciated. Thanks!

  • Custom User Avatar

    ah! i see. thank you!

  • Default User Avatar

    For some reason this kata seems to attract the largest number of people convinced that their solution is correct, and that the kata is wrong...

    @ckc2007 - please read all the discussions below in this section: there are hundreds of comments below yours where people have posted the exact same thing as you and helpful users have pointed out that the tests are correct.

    Whatever you are doing, it contains a mistake - the test solutions have been checked repeatedly for over 7 (!) years.

    On the 1-in-1,000,000 chance you have found something truly wrong, then you should paste your specific test input + which language you are working in, rather than making a generic comment that no-one can help you with.

  • Custom User Avatar

    fix this problem. the answer check is incorrect. and its frustrating that I can't submit an answer because YOUR answer is wrong. thanks.