Question: Python coding question. pls be neat and add comments EXERCISES Exercise 1 Write a function smallestSum that accepts two lists of the same length (assume

Python coding question. pls be neat and add comments
Python coding question. pls be neat and add comments EXERCISES Exercise 1

EXERCISES Exercise 1 Write a function "smallestSum" that accepts two lists of the same length (assume the lists have the same length all the time). The function should find the smallest possible sum for the entries in the corresponding positions, i.e. the same index in two lists. The function should return this value. Sample Input 11 = [0,1,8,12,65, 34534] 12= [120,2,4,55,323,12] Expected Output 3 ***Hint: 1+2=3 (the min index for these numbers is 1) Fvercise 2

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!