I am having issue figuring out a way to shuffle two python list. I have two different lists.
first = [1,2,3]
second = [4,5,6]
I want my final list to be a combination of these two lists but shuffled in a particular way.
combined = [1,4,2,5,3,6]
I can shuffle both the lists and combine them, but the result would be [2,1,3,6,5,4]
but what I want is [1,4,2,5,3,6]
.
The combined list should have one item from the first list, and then the subsequent item from the second list.
The two lists might even be of different lengths.