>>> x = 1 + 3j >>> x.real 1.0 >>> x.imag 3.0 >>> Maan Hamze wrote: > if x is a complex number = a + bj > is there any built in finction that can return the real and imaginary values > of x? > Something like: > r = real(x) = a and > s=img(x) = b > I can not find something like that. > Maan >