Python Language Math Module Imaginary Numbers

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

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)


Got any Python Language Question?