Back to task

57 symbols python3
Wed Nov 25 15:44:02 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