<reponame>kingRovo/PythonCodingChalenge<filename>sum of digits.py<gh_stars>1-10
n=int(input("Enter The Number"))
sum=0
while(n>0):
    r=n%10
    sum=sum+r
    n=n//10
print(sum)

of digits.py<gh_stars>1-10
n=int(input("Enter The Number"))
sum=0
while(n>0):
    r=n%10
    sum=sum+r
    n=n//10
print(sum)