how to get the ordinal number in list

Marko Rauhamaa marko at pacujo.net
Mon Aug 11 08:41:33 EDT 2014


Tim Chase <python.list at tim.thechases.com>:

> Pish, such redundancy...everyone knows a C programmer would write
> that as
>
>  x ^= y
>  y ^= x
>  x ^= y

Aren't you forgetting something?


Marko



More information about the Python-list mailing list