Sum of x numbers of list of integer
I have many lists of integer and want to calculate the sum numbers for each list
My lists sample:
list_1 = [2,4,5,6,8,9,0]
list_2 = [43,435,324,65,23]
list_n = […]
…
This is my code:
res = []
for i in range(len(list_n):
x.append(l…