To flatten only one degree and when Just about every from the objects is itself iterable you can also use iteration_utilities.flatten which alone is just a skinny wrapper about itertools.chain.from_iterable:start out: the beginning index of the slice, it can consist of the ingredient at this index unless it really is the same as ceaseShawn ChinShaw