#!/usr/bin/python3 print('Wellcome to the digits calculator') number = input('Type a some digits number: ') sum = 0 for iterator in range(len(number)): sum += int(number[iterator]) print( 'Your sum is: ' + str( sum ) )