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.
Thank you because as it stands I did not understand what was being asked.
and how 690 notes is less than 6+2+1 = 9 notes?
I got the same error
Expected: '499 * 5 EUR', instead got: '4 * 500 EUR, 2 * 200 EUR, 1 * 50 EUR, 2 * 20 EUR, 1 * 5 EUR
Although it's not (clearly) explained in the description, it's implied that the ATM gives the least amount of banknotes (as a real ATM would).
Desription updated.
totally, cause
!??
is not our case in the description (I'll add this explanation)Only sentences ending with
!?
counts as a!?
.!??
counts as a?
.Hi! Unfortunately (or fortunataly)the test's answer is correct. Try again)
Thank you.
aw, thank you so much Almosawi! that's really nice of you to say
Thanks! You can find more awesome Kata here: https://www.codewars.com/collections/dinglemouse
;-)
No problem
Can you post your code here and mark it spoiler?
This is the test case for
Test.assertEquals(mac.test("00-53-70-87-10-4f-4E-4f"), true, "00-53-70-87-10-4f-4E-4f");
so how is this an issue with the kata. Please, check your code again.I tried a few solutions and had no problem. As you could have seen at the top of the page 3449 guys passed the JS kata (out of a total of 11842). Moreover I had no problem with your solution.