27.08.19 20:07, Andrew Barnert via Python-ideas пише:
Before I get into this, let me ask you a question. What does the j suffix give us? You can write complex numbers without it just fine:c = complex c(1, 2) And you can even write a j function trivially: def j(x): return complex(0, x) 1 + j(2) But would anyone ever write that when they can write it like this: 1 + 2j
And it has its limitation. How would you write complex(-0.0, 1.0)? _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/R2W7FXFZ676WEQNA5B4EOUCBGCFK6RLZ/ Code of Conduct: http://python.org/psf/codeofconduct/
