To flatten just one level and if Every single in the goods is itself iterable You may also use iteration_utilities.flatten which by itself is just a thin wrapper all-around itertools.chain.from_iterable:Other answers give the particular respond to in your dilemma. I am going to initial give some basic context and after that I will respond to the is