[Tutor] Quick Question
lumbricus@gmx.net
lumbricus@gmx.net
Wed, 25 Apr 2001 17:12:10 +0200
On Wed, Apr 25, 2001 at 04:05:48PM +1000, Glen Wheeler wrote:
> Hey guys,
and girls ;-)
>
> I've been writing up a bunch of graphing tools in python...just for fun, and on paper I write x squared as x^2 - this is normal for me.
> However, in python, it is x**2 - right?
ACK
> My question is, what does x^2 do? It seems like x^y === x + y - is this true?
NACK:
the "^" operator is (like in c) a bitwise exclusive OR
>
> Thanks,
> Glen.
HTH
Jö
--
You'd like to do it instantaneously, but that's too slow.