Oops, try again. Does your digit_sum function take exactly one argument (a positive integer)? Your code threw a "'int' object is not iterable" error.

I have no idea what is wrong. Please help.

```
def digit_sum(n):
n = int(n)
for num in n:
total = 0
total += num
return total
```