Let's say that I have three lists like this:
list_of_lists = [ [1,2,3], [4,5,6], [7,8,9] ]
and instead of concatenating them normally, I want to sandwich them as if they were three different stacks of bingo balls, and I want to take one ball from each stack sequentially.
instead of getting a list of [1,2,3,4,5,6,7,8,9], I would want to end with a list that looks more like this:
sandwiched_list = [1,4,7,2,5,8,3,6,9]
The easy logic is to take the first number from each list, append it to a new list, and then delete the number from the old list and repeat iteratively through the list of lists. This will work fine, but is painfully slow.
Are there any other options?