I'm not stuck, again, but I want to know some specific things.

It said "input value of 434 returns 434 instead of 11"

Could you tell me why it didn't work out??

```
This is the code that worked out.
def digit_sum(n):
if n > 0:
nums = str(n)
nums_sum = 0
for i in range(len(nums)):
nums_sum += int(nums[i])
return nums_sum
This is the code that did not.
def digit_sum(n):
if n > 0:
nums = str(n)
nums_list = nums.split()
nums_sum = 0
for i in range(len(nums_list)):
nums_sum += int(nums_list[i])
return nums_sum
```