How can I tell when a string is in fact a number?

Delaney, Timothy tdelaney at avaya.com
Wed Nov 8 18:14:48 EST 2000


Ah - the old "physicists vs mathematicians" debate ...

Unfortunately, I'm more used to 3+2i ... unfortunate because 3+2j is more
readable and looks some much *cooler* ...

Tim Delaney
Avaya Australia

> "Alex Martelli" <aleaxit at yahoo.com> wrote:
> > I dread the task of explaining to a beginner
> > why [...] why 3+2j 'is a number'
> 
> Heck, you're going to have enough trouble explaining to some 
> people why 
> 3+2j is a number but 3+2i isn't :-)
> -- 
> http://www.python.org/mailman/listinfo/python-list
> 




More information about the Python-list mailing list