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.
This comment is hidden because it contains spoiler information about the solution
Ok so the name I copied it from was from a different place I had it in, but I have tried it with the correct name. But I do see what you mean about it being recursed only once.
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.This comment is hidden because it contains spoiler information about the solution
I get Log:7 then underneath 'None should equal 7' and then Log>6 ,'None should equal 6' and so on for all of the tests...The numbers match up but Ive still failed?
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.
I am 100% sure that made code works. I even tested it in a seperate program. There is somethimng wrong with the test cases.