虛數

Python 中的虛數用跟隨目標數字的 j 或 J 表示。

1j         # Equivalent to the square root of -1.
1j * 1j    # = (-1+0j)