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 thought I have made my argument positive: x > 0

```
def digit_sum(n):
for x in n:
x > 0 and type(x) == int
n += x
return n
```