6 Jul 2015 6 Jul '15
On Mon, Jul 6, 2015 at 7:50 AM, Sven R. Kunze email@example.com wrote:
Seems like we stick to this example once again. So, let me get this straight:
- I can add, subtract, multiply and divide real numbers.
- I can add, subtract, multiply and divide complex numbers.
- I can even add, subtract, multiply and divide complex numbers AND real
numbers altogether in a single expression. 4) Granted, complex numbers can do more but that basically follows from their definition and does not jeopardize ease of usage.
Until you run into a TypeError: unorderable types: complex() > complex(), at which point you realize that they aren't a simple superset of reals with all the same operations supported.