Computer Science, asked by JaypreetKumar, 1 month ago

Write a python script to calculate sum of individual digits of a given number.
Please give me answers fast

Answers

Answered by bhunikasharma
0

Explanation:

Python Program to Find the Sum of Digits in a Number

1)Take the value of the integer and store in a variable.

2)Using a while loop, get each digit of the number and add the digits to a variable.

3)Print the sum of the digits of the number.

4)Exit.

Similar questions