To flatten just one level and if Each and every in the merchandise is itself iterable You can even use iteration_utilities.flatten which alone is just a thin wrapper all over itertools.chain.from_iterable:Here are some generalized types I assumed up just before I got a headache trying to choose if a remaining else' clause could possibly be used in