Combining two lists, every other item


#1

I’m trying to combine two lists by inserting every other item from each of the lists to a new, combined list. (Ex, AAAA, BBBB —> ABABABA). I’m having trouble figuring out how to do this. To complicate matters, it is actually two nested lists (although they are of the same length). Any tips?


#2

Something like this?


#3

Yea, the only thing is I was hoping to keep the general structure of the list. This is the final solution I ended up with; it may have a little bit of redundancy but it works. Thanks for your help Vikram!


#4

Avoid the ‘Flatten’ that I’ve introduced at the end and you maintain the structure.