Complex Number Multiply: the Complex part : Complex Numbers « Data Type « Python






Complex Number Multiply: the Complex part

Complex Number Multiply: the Complex part

print 2 + 1j * 3

           
       








Related examples in the same category

1.Complex Numbers: MultiplyComplex Numbers: Multiply
2.Complex Numbers: two complex numbersComplex Numbers: two complex numbers
3.Complex numbers: imaginary numbers are written with a suffix of 'j' or 'J'. Complex numbers: imaginary numbers are written with a suffix of 'j' or 'J'.
4.Complex numbers: represented as two floating point numbersComplex numbers: represented as two floating point numbers
5.Use abs(z) to get its magnitude (as a float) or z.real to get its real part.Use abs(z) to get its magnitude (as a float) or z.real to get its real part.