what does ^ do in python

Tim Chase python.list at tim.thechases.com
Tue Mar 25 18:36:59 EDT 2008


> In most of the languages ^ is used for 'to the power of'.
> 
> No, not in most languages. In most languages (C, C++, Java, C#, Python,
> Fortran, ...), ^ is the xor operator ;)

...and in Pascal it's the pointer-dereferencing operator...

-tkc





More information about the Python-list mailing list