really silly nit: why 3+5j instead of 3+5i?

Tim Northover tim at pnorthover.freeserve.co.uk
Sun May 14 08:06:37 EDT 2000


jimn at minusen.force9.co.uk writes:

> Lloyd Zusman <ljz at asfast.com> wrote:
> : "Andrew Dalke" <dalke at acm.org> writes:
> 
[snip]
> As I see it, the problem would come when converting a complex number
> to a string - which representation should it use? Is it not preferable 
> to use the same representation for display as is used for literals?

I'm quite a newbie (read very), but it seems that there is a precedent
in strings which can be either ' or " but ' is used for printing. Is 
this now considered to have been a mistake or a special case?

I'm probably missing something fundamental.

Tim N.



More information about the Python-list mailing list