Answers for "sum values of a list based on another list python"

1

sum of list of lists python

List = [[1, 2, 3],
        [4, 5, 6],
        [7, 8, 9]]
          

for i in zip(*List):
  print(i)

out: 
(1, 4, 7)
(2, 5, 8)
(3, 6, 9)
Posted by: Guest on December-20-2021

Code answers related to "sum values of a list based on another list python"

Python Answers by Framework

Browse Popular Code Answers by Language