Hi austin,
Next time, please use the </> button when you post code (And specify the language).
The following function should have the behavior you described:
def sumDigits(f, t, x):
sum = 0
for i in range(f, t+1):
sum = 0
num = i
while not num == 0...