Back to task

69 symbols python3
Wed Nov 25 15:37:34 2015 louietyj
x = int(input())
while x > 10:
    x = sum(map(int, str(x)))
print(x)


Leave a comment

Parsed as Markdown

Login to leave a comment