>
> On Oct 13, 2019, at 22:54, Chris Angelico <ros...@gmail.com> wrote:
> >
> > Mathematically, what's the difference between '1' and '1+0j' (or
> > '1+0i')?
>

1 is perfectly valid natural number, rational number (equivalent to 1/1),
real number (equivalent to 1.0) and complex number (equivalent to
1.0+0.0i). Everything you can do with 1 as a natural number, you can do
with its equivalents in the other (super) sets.

I guess (I hope) what Andrew is saying is that natural numbers are not
rationals, nor are reals, etc. Which means, if "1" is a natural number, you
cannot divide it (pretty much by anything except itself) to remain natural,
or add 'i'. The same goes for any other numbers "superset". But I believe
it was not a point. 1 can be natural, rational, real, or complex depending
on the context and claiming that it is not (because we did not add the
mandatory rational pair, decimal points or the imaginary part) is absurd.

Richard
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/T7AMEFHF6IUEGSHE22U72MOG27TDLEDB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to