"Sum of digits : Given a three-digit number. Find the sum of its digits." - python coding question on February 20, 2022 Get link Facebook X Pinterest Email Other Apps CODING QUESTIONGiven a three-digit number. Find the sum of its digitsSOLUTION sum=0n=int(input())sum=sum+n%10n=n//10sum=sum+n%10n=n//10sum=sum+n%10print(sum)Input : 179Output : 17