Back to task

62 symbols python3
Mon Mar 11 20:45:09 2019 sbhagat1729
n=input()
while(len(n)>1):
    n=str(sum(map(int,n)))
print(n)


Leave a comment

Parsed as Markdown

Login to leave a comment