Write digit_sum(n) returning the sum of the digits of a non-negative integer.
digit_sum(1234) → 10
digit_sum(0) → 0
Submit runs 5 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.