My Snippets
Archive
Premium
Soma
Anonymous
Python
11/01/2022 4:08 PM
80 B
23
Indexable
Never
string = '1,2,3,4,5' soma = sum([int(n) for n in string.split(',')]) print(soma)
Editor is loading...