Python Forum

Full Version: Should Python support i suffix for complex numbers as well as j ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Python supports complex numbers written with the j suffix, e.g. 2.5j.

On Python's bug tracker, Guido is testing the waters to see if there is interest in also allowing the i suffix. What do people think?
Why add useless complexity?
@stevendaprano Speaking of modifying the Python language, have you tried my adddot extension that allows to write Python code without the dot . operator ? I'd dream of Guido removing the dot in Python...

Instead of
self.box.open()
one can just write
self box open()
It is a completely different look and feel.
No, I've never tried it.

You should publish it on PyPI to make it easier for people to find.