Digit_sum HELP!



Ok, so i am this point of code but i am stuck because i dont know how to add the int together.

Replace this line with your code. 
def digit_sum(n):
    x = []
    for a in x:
        a = int(a)


simply declare a variable total, give it a value of zero

add (+) a to total


Im not following...would you mind showing me an example?


defining variable is covered in the first 5 lessons?

you don't understand anything i just said?


haha, no. I understand now.