Iteration over two sequences

Henrik Holm news+0409 at
Wed Jan 12 11:24:58 EST 2005

Richard Brodie <R.Brodie at> wrote:

> "Henrik Holm" <news+0409 at> wrote in message
> news:1gq9qs9.3snutr1s4mcn2N%news+0409 at
> > I suppose I could also use a lambda here -- but is there a different,
> > efficient, and obvious solution that I'm overlooking?
> Check the itertools recipes in the library documentation.


the itertools seem to contain several useful functions.

"On some great and glorious day the plain folks of the land will reach
in their heart's desire at last and the White House will be adorned by
a downright moron."
                             -H.L. Mencken (1880-1956) American Writer 

More information about the Python-list mailing list