Complex numbers

Sign in to test your solution.
def real(complex): """ The real part of a complex number """ def imag(complex): """ The imaginary part of a complex number """ def sum(left, right): """ The sum of two complex numbers """ def product(left, right): """ The product of two complex numbers """