Sunday, February 10, 2019

Summer Vaccation Homework (Q8)

Q. Write a program that takes any two lists L and M of the same size and adds their elements together to form a new list N whose elements are the sums of their corresponding elements in L and M. (for instance if L = [3, 1, 4] and M = [1, 5, 9], then N should be equal to [4, 6, 13])

Code:


No comments: