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.
Lacking tests (only 1 sample test, 3 fixed tests, and no random tests currently)
string "6F43E8" must throw "Error" like instructions say at the end.
return false/False
or
throw "Error"
Ah, I understand. Thank you for your assistance and re-explanation! I can now see this is not a Kata issue now, and was able to fix my code and solve the kata.
To clarify: Please print the input. '6F43E8' is not the input of the test where your code is failing.
Read this: https://docs.codewars.com/training/troubleshooting/#print-input
Your code fails another test case.
Also if you select Node v8.1.3 you may get clearer error messages.
Yes, I made the same experience.
I have translated it to Java. I proposed to clarify the instructions.
As I said, it's not the same test that fails, they are the next two. Changing Node's version makes that clearer, it won't make your code pass.
That's all green, the next two fail.
it works with every other case , even this case works when i console log it . just doesnt work when testing .
It seems to persist when i select Node v8.1,3. Can you explian how it is my code that is failing, rather than a kata issue, if the "test" case passes, but then the same argument failed when "attempted"?
Select Node v8.1,3, that's not the input your code is failing. Not a kata issue.
I think I've run into an issue. The "6F43E8" test case passes when I "test" my code, but if I "attempt" the problem, the "6F43E8" attempt case does not pass. Why would it pass on the "test" but not on the "attempt"? Every other attempt and test case pass.
Sorry, but this is not a kata issue, the instructions are clear enough. Make it a suggestion if you want.
Read that again, those are two digits representing a month. The date is another item:
This Kata doesnt only consider months, the driver's birth date is important as well.
xx-xx is arguably the most common date format there is, either written month-day or day-month.
01-12 is an uninintutive way to express jan-dec in a kata where interpretation of the full date(day, month, and year) are important to create a solution.
Learned a great new method to sort an array with another array. Thank you for this kata.
Loading more items...