trouble with complex numbers

alex23 wuwei23 at gmail.com
Wed Aug 5 09:41:56 EDT 2009


Piet van Oostrum <p... at cs.uu.nl> wrote:
> That should be z += 0j

Pardon my ignorance, but could anyone explain the rationale behind
using 'j' to indicate the imaginary number (as opposed to the more
intuitive 'i')?

(Not that I've had much call to use complex numbers but I'm
curious....)



More information about the Python-list mailing list