Python program to print the sum of all digits in a given number
kw.py
Output
kodingwindow@kw:~$ python3 kw.py ___________________________________________ Program to print sum of all digits ___________________________________________ Enter the number 123456789 Sum of all digits in 123456789 is 45 ___________________________________________
What Next?
Python program to print the multiplication table of a given number
Python program to check whether a given number is a palindrome
Python program to print the list of all leap years
Advertisement