Write a program that merges two lists. Let L1 = [1, 2, 3] and L2 = [10,
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program that merges two lists. Let L1 = [1, 2, 3] and L2 = [10, 20, 30] be two lists. Write a program that merges L1 with L2. After the merge, contents of L1 will be: L1=[1, 2, 3, 10, 20 30] DO NOT USE LIBRARY FUNCTIONS. Do not access list elements directly. Use basic list functions instead use retrieve(5), do not use L[5] use insert(1, 1), do not use L[1] = 1 etc.
Related Book For
Database Systems A Practical Approach to Design Implementation and Management
ISBN: 978-0132943260
6th Edition Global
Authors: Thomas Connolly, Carolyn Begg
Posted Date: