On 07/02/12 01:01, Nate Lastname wrote:
Exponents ... are **(or ^)

Not quite the ^ operator is a bitwise XOR...

>>> 2^2
0
>>> 2^1
3

pow() is the other way to do exponents.

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to