def sum_sum_digit(n):
    sum_ = sum_digit(n)
if sum_ < 10:
    return sum_
else:
    return sum_sum_digit(sum_)
sum_sum_digit(1969)
Designing a recursive function that uses digit_sum to calculate sum of digits