Question: You have two lists A = [1, 2, 3, 4, 5], B = [3, 4, 5, 6, 7]. Your task is to create a third

You have two lists A = [1, 2, 3, 4, 5], B = [3, 4, 5, 6, 7]. Your task is to create a third list C and populate it with the sum of the values in A and B. For example, the first element of C will be sum of the first element of A and the first element of B. Use a for loop to create list

C = [4, 6, 8, 10, 12].

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 Programming Questions!