ANN: Python 2.3.2 for PalmOS available
Erik Max Francis
max at alcyone.com
Wed Apr 20 00:29:25 EDT 2005
RM wrote:
> I get odd results when trying to use exponents. For example:
>
>>>>4^2
> 6
>
Someone else already pointed out that ** is exponentiation. ^, on the
other hand, bitwise exclusive or.
--
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
One sword keeps the other in the sheath.
-- George Herbert
More information about the Python-list
mailing list