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.
Your current solution still fails for cases that contain numeric characters (
0-9
) because they are considered valid characters but your code discards themI'm working in JavaScript fyi
thanks!
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!
Is it possible that
gsub!
would returnnil
?What does your solution return for input
"a"
?Python translation: https://www.codewars.com/kumite/634733d623ec28924ec1bcc7
This kata was decided to stay.
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?Read this: https://docs.codewars.com/training/troubleshooting/#print-input and use
console.log()
instead ofprint()
for javascript.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!
ah! i see. thank you!
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.
fix this problem. the answer check is incorrect. and its frustrating that I can't submit an answer because YOUR answer is wrong. thanks.