Looking for python Answers? Try Ask4KnowledgeBase
Looking for python Keywords? Try Ask4Keywords

Python Language Imaginary Numbers


Example

Imaginary 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)