# find sum of digits n = input("enter an integer : ") print(str.join(" l", n)) print(eval(str.join(" + ", n))) print(eval('+'.join(list(n))))