Question: PYTHON Exercise 1. Write a function that receives two lists of numbers. The function must add the elements of the two lists one by one

PYTHON

Exercise 1. Write a function that receives two lists of numbers. The function must add the elements of the two lists one by one and return a third list with the result of the sum Example: Assume that the two arrays that the function receives as a parameter are the following:

list1 = [4,2,5,7,8,9,1]

list2 = [1,2,3,4,5,6,7]

The function must add the two lists and must return the following:

[5, 4, 8, 11, 13, 15, 8]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!