Question: Can you answer this using python? 1. Write a function that calculates the sum of digits of a number. Then write a function that calculates
Can you answer this using python?

1. Write a function that calculates the sum of digits of a number. Then write a function that calculates the sum of digits of the sum of digits of the sum of digits etc. of a number until the sum of digit becomes a single digit. For example: 45739834294 58 13 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
