For Counter Variable
Rodrick Brown
rodrick.brown at gmail.com
Sun Sep 23 12:45:20 EDT 2012
On Sep 23, 2012, at 12: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.
for idx in <list of elm>: print (idx)
i.e.. for idx in range(10): print(idx)
> --
> http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list