Question: By using Python 3 Write a program that asks for an integer then adds all the digits in that integer. If the resulting sum is
By using Python 3
Write a program that asks for an integer then adds all the digits in that integer. If the resulting sum is more than one digit, keep repeating until the sum is one digit. For example, if the integer was 827, then the response would by 8, since 8 + 2 + 7 17 and 1 + 7 = 8.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
