userinput=input("Enter no: ")
def addingdigits(n):
    tot = 0
    for digit in n:
        tot += int(digit)
    return tot
if __name__ == "__main__":
    print(addingdigits(userinput))
    
c550d1690484a4866304d140671d141a004fbe2e
<mask token>

<mask token>


def addingdigits(n):
    tot = 0
    for digit in n:
        tot += int(digit)
    return tot


<mask token>

<mask token>


def addingdigits(n):
    tot = 0
    for digit in n:
        tot += int(digit)
    return tot


if __name__ == '__main__':
    print(addingdigits(userinput))

userinput = input('Enter no: ')


def addingdigits(n):
    tot = 0
    for digit in n:
        tot += int(digit)
    return tot


if __name__ == '__main__':
    print(addingdigits(userinput))

userinput=input("Enter no: ")
def addingdigits(n):
    tot = 0
    for digit in n:
        tot += int(digit)
    return tot
if __name__ == "__main__":
    print(addingdigits(userinput))
    