Use complex function to create complex number : complex « Buildin Function « Python Tutorial






print complex(4)
print complex(2.4, -8)
print complex(2.3e-10, 45.3e4)
13.10.complex
13.10.1.Use complex function to create complex number