(Oct-31-2019, 01:24 AM)Skaperen Wrote: this can get annoying:Not sure if there is question here, but generators are exhausted after you iterate over them once.
Also why not use itertools.product to shorten the comprehension?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs