To flatten just one degree and when Every single in the items is alone iterable You may also use iteration_utilities.flatten which by itself is just a skinny wrapper all over itertools.chain.from_iterable:where l is a set, start out can be an inclusive index, end is really an exclusive index, and action is a stride that could be used to consider ea