Question: In Python Exercise 6 Write a function smallestSum that accepts two lists of the same length (assume the lists have the same length all the
In Python

Exercise 6 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)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
