You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a list of inputs ["A", "B", "C"] I want an iterator that gives me an infinite combination output so that we get ["A", "B", "C", "AA", "AB", ..., "CCCC", .... I don't believe this is currently easily possible using itertools.
The text was updated successfully, but these errors were encountered:
This can probably be done with some adaption of MultiProduct. To add a bit more flexibility, it could take a meta-iterator, incremenally yielding items from the first iterator, then the product of the first two, etc. until termination (or not, if the meta-iterator is infinite).
Given a list of inputs
["A", "B", "C"]
I want an iterator that gives me an infinite combination output so that we get["A", "B", "C", "AA", "AB", ..., "CCCC", ...
. I don't believe this is currently easily possible using itertools.The text was updated successfully, but these errors were encountered: