On 13/06/13 01:08, Marc Tompkins wrote:
On Wed, Jun 12, 2013 at 3:31 PM, Dave Angel <da...@davea.name
<mailto:da...@davea.name>> wrote:

     >>> cmath.sqrt(float((math.e **(i * math.pi)).real))
    1j

Sh*t just got real.

no, it's imaginary. :-)


--
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