Question: Please Write Python Code for the following Question 2. (8 points) Write a function that takes two already sorted lists of integers and returns a
Please Write Python Code for the following Question

2. (8 points) Write a function that takes two already sorted lists of integers and returns a sorted list that combines their elements. Test your function with the following program. print (merge_sorted([1, 4, 5, 18, 20], [3, 4, 5, 19, 21])) print (merge_sorted ((-1, 2, 3, 200], [0, 1])) You should get the following output [1, 3, 4, 4, 5, 5, 18, 19, 20, 21] [-1, 0, 1, 2, 3, 200] Process finished with exit code 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
