Derek Basch wrote:
> index = 0
> for animal in zoo:
> for color in animal:
> index += 1
# assuming there is something more goes here...
>
You could do this, but it kind of depends what the loop *really* looks
like:
for index, color in enumerate(color
for animal in zoo
for color in animal):
# the something more goes here.
pass
--
http://mail.python.org/mailman/listinfo/python-list
