To flatten only one stage and if Every on the merchandise is itself iterable You may also use iteration_utilities.flatten which itself is simply a thin wrapper all over itertools.chain.from_iterable:The values just before and after the assigned slice might be saved, and the gathering will shrink or mature to have the new values:Any college student