For Counter Variable
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Sun Sep 23 18:54:09 EDT 2012
On Sun, 23 Sep 2012 10:45:53 -0700, jimbo1qaz wrote:
> On Sunday, September 23, 2012 9:36:19 AM UTC-7, jimbo1qaz 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.
>
> Ya, they should really give a better way, but for now, enumerate works
> pretty well.
Define "a better way". What did you have in mind that would work better?
--
Steven
More information about the Python-list
mailing list