#programming #programming/python #semester-1 Complex Complex numbers are written with a j as the imaginary part: x = 3+5j y = 5j z = -5j You can cast to a complex using: x = complex(x)