def sumdigits(mystring):
    summation = 0
for letter in list(mystring):
    if letter.isdigit():
        summation += int(letter)
return summation
How to add numbers and letters in a string in Python3.3.5 (The final result should be an int)?