Here’s a link to the exercise:

https://www.codecademy.com/courses/python-intermediate-en-rCQKw/0/4?curriculum_id=4f89dab3d788890003000096

I keep getting this error and can’t figure out what’s wrong: 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.

Any ideas?

Here’s my code:

```
def digit_sum(n):
str(n)
numbers = []
answer = 0
for let in n:
numbers.append(let)
for dig in numbers:
int(dig)
answer += dig
return answer
```