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.
I could see it, please read this: https://docs.codewars.com/training/troubleshooting#post-discourse
Already gave you a hint about what makes your code fail, now try to patch your code so it doesn't happen. Did you try calling your function in VSC with
""
as input? Did it fail?Please write in english here. Your code works there because you didn't use the same input your code fails here, it's failing the first sample test, the one with an empty string as input. If you try your code in VSC with that, it'll fail there too.