Imaginary Numbers
suggest changeImaginary numbers in Python are represented by a ājā or āJā trailing the target number.
1j # Equivalent to the square root of -1.
1j * 1j # = (-1+0j)
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents