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.
Sun Dec 05 2021 19:46:36 GMT+0000 (Coordinated Universal Time)
Saved by @tolanisirius
https://www.code-helper.com/answers/write-a-function-digitsum-that-calculates-the-digit-sum-of-an-integer-the-digit
Comments