Question: I am using Python on Windows interestingMerge (12,13) Write a function interestingMerge (12,13) that accepts two lists and return a list of tuples. The function

I am using Python on Windows
I am using Python on Windows interestingMerge (12,13) Write a function interestingMerge

interestingMerge (12,13) Write a function interestingMerge (12,13) that accepts two lists and return a list of tuples. The function finds the sorted listed of all pairs of numbers. Each pair should satisfy the following conditions; The first element of the pair comes from the first list and the second element of the pair comes from the second list. Additionally, first element of the pair divides the second element evenly. Sample Input 12 = [1,2,3,4,5,6] 13 = (12,15,24,66,80] Expected Output 111, 12) (1) 15) (124) (1, 66), (1, 80), (2, 12), (2, 24), (2, 66). (2, 80), (3, 12, 13, 15), (3, 24), (3, 66). (4. 12), 14, 24), (4, 80). (5, 15),(5,80), 26, 12), (5 24) (6, 66)

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!