I have a generator, and I'd like to perform a nested loop on it in such a way that the inner loop will start from where the outer loop stands at the moment. For example, I have a generator that produces the list I have a generator, and I'd like to perform a n