Prompt: Write a program that adds all the digits in an integer. If the resulting sum is more than one digit, keep repeating until the sum is one digit. For example, the numb
you can try this solution, if n=98 then your output will be 8
def repitative_sum(n): j=2 while j!=1: n=str(n) j=len(n) n=list(map(int,n)) n=sum(n) print(n)