Possible Duplicate:
Merging/adding lists in Python
nested_list= [[1, 3, 5], [3, 4, 5]]
sum_of_items_in_nested_list = [4, 7, 10]
I am trying to create a nested for loop that will add take the item at each corresponding index and add it to the other nested list at the same index. So the above adds
nested_list[0][0] + nested_list[1][0], nested_list[0][1] + nested_list[1][1] and so on. I would like to do this without importing and modules. This is probably so easy but I am having the devil of a time with it.