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.
No answer after 3 months, closing.
You're welcome.
Chrono79 Thank you much. I also didnot undertand what was wrong with my code until I read your comment.
hi can you show the code?
Your current code works, so... There's no way we can guess what the problem was. Please read this: https://docs.codewars.com/training/training-example and this: https://docs.codewars.com/training/troubleshooting
Read this: https://docs.codewars.com/training/training-example and this: https://docs.codewars.com/training/troubleshooting your function should return the result, not print it to the console. Not a kata issue.