itertools.groupby (gauntlet thrown down)
Steve Howell
showell30 at yahoo.com
Wed May 30 00:07:23 EDT 2007
> Raymond Hettinger <python at rcn.com> writes:
> > The gauntlet has been thrown down. Any creative
> thinkers
> > up to the challenge? Give me cool recipes.
>
Twin primes? (Sorry, no code, but there's a good
Python example somewhere that returns an iterator that
keeps doing the sieve, feed it to groupby,...)
____________________________________________________________________________________Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
More information about the Python-list
mailing list