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.
This comment is hidden because it contains spoiler information about the solution
yeah, sorry, you're right..
i'm an idiot, lol
thanks
Returning YES or NO would also pass some tests. I meant to pass all tests.
I meant 'bill handling'
isn't necessary to pass the tests, otherwise
I wouldn't've passed any test
It is necessary to pass the tests.
did actually initialize vasyasCash in my code (passed all tests except one)
missed it somehow in posting here
Thanks heaps for your help btw
so you're saying -
even though it's not necessary to past the tests,
I'm not really answering the question properly by not handling bills
yeah?
Yep, saw when my code was hidden
Sorry 'bout that. Didn't know, do now, thanks
Read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#post-discourse
What is
vasyasCash
? you didn't initialize it. Also, note you have to handle bills here.This comment is hidden because it contains spoiler information about the solution
The test is ok.
[25, 25, 50, 100]
expected:<[YES]> but was:<[NO]>
??
Something I'm missing?