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.
The duplicate has been retired.
OP solved it, closing
qasimala: that was python. Thanks for helping.
Vanish565: please, read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
Thank you very much
I see you're using Javascript. They want you to "return" the result and not "print" it. Try replacing "print(total)" with "return total"
Also, please mark your comment as spoiler.
This comment is hidden because it contains spoiler information about the solution
This kata seems to be a duplicate of another in 7 kyu. https://www.codewars.com/kata/57f36495c0bb25ecf50000e7
Please remove one or the other. (or maybe there is a big difference?)
Click Attempt or write your own sample tests.
This comment is hidden because it contains spoiler information about the solution
What was the issue? I'm getting the same error and am not sure why.