somma di liste python code example Example: somma array python #sum the elements in a list x=[1,2,3,4] sum(x)