write a function digitsum that calculates the digit sum of an integer. the digit sum of an integer is the sum of all its digits

0

Write a function digitsum that calculates the digit sum of an integer. The digit sum of an integer is the sum of all its digits.

By Beginner Penny Connelly at Dec 31 2020


Related code examples


Code examples by languages