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.
Lua translation!
very bad kata
Main problem I do not see what falls this test. I see only problem, it do not show me 's', if i return 's' I so not see what my function do. I return 's' and return all 'false'. I do it. but for it need very much time. decition have ony one string, but you do not see it, if you do not know basic funtion for it
You've hadcoded the answer for several input values, but not all, read the error message:
Your code isn't failing the test of
-0
, it is failing another one, but as your code is wrong, it is not a kata issue. Make some code that works at least without hardcoding every test and only then open an issue if you're sure there is a problem with the tests.Something is wrong with the basic tests (all randoms passed)
I printed all of the ones with a result of false, but as per the description they shouldn't be true? (Added an extra condition to make the -0 into true and still fails..)
"s2324" false
"3 4" false
"3-4" false
"3 4 " false
"-0" false
All tests pass, one fails. Shit! What do I do? I'm upset! Very upset!
Not a kata issue.
Your solution fails for
s = " "
.This comment is hidden because it contains spoiler information about the solution
approved
Scala translation
fixed in latest fork after 6 years
Approved
python new test framework + snake_case + backward compatibility + updated random tests are required. updated in this fork
Printing the input: https://docs.codewars.com/training/troubleshooting#print-input
Sample tests are just that, a sample, it won't show all edge test cases.
Loading more items...