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.
Read the comments next time you think you encounter an issue.
Your code only calculates the sum of digits once, but you need to keep summing the digits of the new number if the number is less than 10. Read the description, it states that the function is recursive, so you have to keep doing it until there is only one digit. The input value is 195, the expected value is 6 and your code returns 15.