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.
And your "solution" (the latest one that I can see) seems way too simple and incorrect. It fails for even the first test that's mentioned in the description:
Make sure to read the description carefully to understand what it's asking for. If you're stuck, try debugging it: https://docs.codewars.com/training/troubleshooting
It's probably not correct then.
its not working, when i type correct answer it catching error