Hi everyone,

for the exercise digit_sum I wrote the following code:

```
digits = []
def digit_sum(n):
print("start")
digits.append(n % 10)
next_digit = n // 10
if next_digit == 0:
print("stop")
print(sum(digits))
return sum(digits)
print("reload")
digit_sum(next_digit)
```

If I type this into a terminal, I get :

digit_sum(434)

start

reload

start

reload

start

stop

11

but in codecademy it says: Oops, try again. Your function fails on digit_sum(434). It returns None when it should return 11.

Thanks for your help

Cheers,

Jonas