how to get the ordinal number in list

Mark Lawrence breamoreboy at yahoo.co.uk
Sun Aug 10 16:32:14 EDT 2014


On 10/08/2014 19:26, Rustom Mody wrote:
>
> Its when we have variables that are assigned in multiple places that
> we start seeing mathematical abominations like
> x = x+1
>

I'm not bothered about it being a mathematical or any other type of 
abomination.  It works, practically beats purity, so if it ain't broke, 
please don't fix it, for some definition of fix.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list