enumerated while loop

Mark Dickinson dickinsm at gmail.com
Sat Jan 23 15:58:09 CET 2010


On Jan 23, 2:44 pm, Roald de Vries <r... at roalddevries.nl> wrote:
> I assume a function like 'naturals' already exists, or a similar  
> construction for the same purpose. But what is it called?

itertools.count()

--
Mark



More information about the Python-list mailing list