# Write a Python program to Sum of number digits in List 
# Python3 code to demonstrate
# Sum of number digits in List
# using loop + str()


# Initializing list
test_list = [12, 67, 98, 34]


# printing original list
print("The original list is : " + str(test_list))


# Sum of number digits in List
# using loop + str()
res = []
for ele in test_list:
    sum = 0
    for digit in str(ele):
        sum += int(digit)
    res.append(sum)
     
# printing result
print ("List Integer Summation : " + str(res))