Topic: Mathematics Problem / Level: intermediate

Problem: Implement a function to find the sum of the digits of a number until it is a single digit.

Run the code to see the output here...