[Tutor] Value Error

Jim Mooney cybervigilante at gmail.com
Thu Jun 13 00:07:15 CEST 2013


On 12 June 2013 14:16, Steve Willoughby <steve at alchemy.com> wrote:

> or if you try to take the square root of a negative number, etc.
>

Or the log of -10. Although sqrt(-1) works fine for cmath.sqrt(-1) - I
think I get it.

Come to think of it you can do cmath.log(-10), but that's getting scary ;')

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130612/4ade2731/attachment.html>


More information about the Tutor mailing list