It would seem that your program is just filtering the full cartesian product, right? The solution I'm looking for generates the elements one-by-one so that it could be used in a loop.
-- http://mail.python.org/mailman/listinfo/python-list
It would seem that your program is just filtering the full cartesian product, right? The solution I'm looking for generates the elements one-by-one so that it could be used in a loop.
-- http://mail.python.org/mailman/listinfo/python-list