For Counter Variable

Oscar Benjamin oscar.j.benjamin at gmail.com
Sun Sep 23 12:50:20 EDT 2012


On Sep 23, 2012 5:42 PM, "jimbo1qaz" <jimmyli1528 at gmail.com> wrote:
>
> Am I missing something obvious, or do I have to manually put in a counter
in the for loops? That's a very basic request, but I couldn't find anything
in the documentation.

Have you seen the enumerate function?

Oscar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120923/ad1beb22/attachment.html>


More information about the Python-list mailing list