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.
from your test where does 'b' come from?
Your code do a correct answer, don't mind whats wrong with it
done
Because the author doesn't mention it and everyone is lazy pretty much
Probably that's because that solution mutates the input, affecting the expected value.
Post your code that fails: https://docs.codewars.com/training/troubleshooting#post-discourse so it can be checked.
No idea what you're doing but, you passed the kata and with your current code I can't reproduce that error. The control function returns
"Winner!"
for that input too. You can see that for yourself.The tests only pass strings containing letters. Otherwise, it is expectable the description would state it, and provide some more examples to see the different cases.
The input has a C. Not a kata issue.