s = "1 2 3 4 5 6 7 8 9" casti = s.split() print(casti) soucet = 0 for c in casti: soucet += int(c) print(soucet)