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 problem.
The function's name should be
digital_root
notsum_digits
and you're doing recursion wrong for this problem, you're only adding all digits once. Unless that's one function you use in your code and you didn't write the rest of it.No there is no problem with Javascript or Python (there are more than 13k solutions for both of them). It's a problem with your code, probably you are using a global variable.