Write a recursive function that computes the sum of the digits in an integer. Use the following function header:
def sumDigits(n):For example, sumDigits(234) returns Write a test program that prompts the user to enter an integer and displays its sum.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here