[Edu-sig] Itertools

Kirby Urner urnerk at qwest.net
Tue Jan 27 20:41:09 EST 2004


> count([n])
> 
> count will return consecutive integers until n is reached
> 

Actually, I think this one iterates *from* n.  It has no stopping parameter.

<<SNIP>>

> I hope that's helpful.  I'm willing to clarify any confusions I've
> created with it.
> 
> --Dethe
> 

Helpful indeed!  Thank you.

Kirby





More information about the Edu-sig mailing list