I have a situation where I'm given a nested list that has very good odds of being non-rectangular. For example:
lists = [[obj1,obj2,obj3],[obj4,obj5],[obj6,obj7,obj8,obj9]]
and I want to iterate over it such that x = obj1,obj4,obj6,obj2,obj5,obj7,obj3,obj8,0bj9. Iterating over the elements of the first column, then the elements of the second column, and so on.
It could easily be done by transposing it and iterating over it, but I've yet to figure out how to do that.