from itertools import zip_longest
a = [[1, 2, 3, 4], [5, 6], [7, 8, 9]]
[i for sublist in zip_longest(*a) for i in sublist if i is not None]
Python Iterate through list of list to make a new list in index sequence