{{ message }}
Commit 0904610
create sum_of_digits.py (TheAlgorithms#2065)
* create sum_of_digits.py
create sum_of_digits.py to find the sum of digits of a number
digit_sum(12345) ---> 15
digit_sum(12345) ---> 10
* Update sum_of_digits.py
* Update maths/sum_of_digits.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* Update maths/sum_of_digits.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* Update sum_of_digits.py
Co-authored-by: Christian Clauss <cclauss@me.com>1 parent 35319a2 commit 0904610
1 file changed
Lines changed: 18 additions & 0 deletions

0 commit comments