Home
Python
2D
Application
Buildin Function
Class
Data Structure
Data Type
Database
Development
Dictionary
Event
Exception
File
Function
GUI Pmw
GUI Tk
Language Basics
List
Math
Network
String
System
Thread
Tuple
Utility
XML
Complex Numbers: Multiply : Complex Numbers « Data Type « Python
Python
Data Type
Complex Numbers
Complex Numbers: Multiply
print (2+1j)*3
Related examples in the same category
1.
Complex Number Multiply: the Complex part
2.
Complex Numbers: two complex numbers
3.
Complex numbers: imaginary numbers are written with a suffix of 'j' or 'J'.
4.
Complex 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.