I am stuck on this one piece of code because I can\'t get the generator to return me a the next value every time its called – it just stays on the first one! Take a look:
You create a new generator on every line. Try this instead:
iterator = ArrayCoords(20, 20) next(iterator) next(iterator)