Question: using python Write a program that takes 2 lists from user and construct a new list that is the shuffle of the two lists. In

using python using python Write a program that takes 2 lists from user and

Write a program that takes 2 lists from user and construct a new list that is the shuffle of the two lists. In other words: the new list is composed of. The first element of list 1 then the first element of list 2, then the second element of list 1 then the second element of list 2, and so on until at least one of the two lists terminate. Finally, the remaining elements of the non-terminated list (if any) are added to the new lists. Print the new list at end. See the example. For example: Input Result I'l', '2', '2', '6', '3', 'F', '4', '8', '9', '10''11' 12', '13') 1 2 3 4 7 6 f 8 9 10 11 12 13

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!