4.Digit_sum

I just can't figure out how to do this one correctly. I had code earlier that I felt was super close but I started over and am now lost.

it should run through so that whatever number inserted will equal the sum of those numbers:

123 = (1 + 2 +3)

lists = []

def digit_sum (n):

for numbers in n:

string = str(numbers)

lists.append(numbers)

for number in range(0,len(lists)):

return int(lists)

```

that is my code so far. any help would be appreciated