Complex numbers in Python

You can think of complex numbers as a pair consisting of the real part and imaginary part.

There are 2 ways to declare them:

complex(3, 2)
or use a special syntax:
3 + 2j