Sum of Digits / Digital Root — codewars
This problem is currently rated as a 6 kyu (ratings on codewars range from 8 (easiest) to 1 (hardest)) problem on codewars, this is its description :
“Digital root is the recursive sum of all the digits in a number.
Given n, take the sum of the digi...
sweat.hashnode.dev2 min read