Updated with a generator, just to see if I could make a generator work. I had to convert the generator object into a list which mean changing some things around. It worked though I don’t know if it was worth it in terms of clarity.
February 18, 2017 at 05:56PM
via GitHub http://ift.tt/2l1zBEH