Mega Code Archive

 
Categories / Python Tutorial / Data Type
 

Import cmath for Complex number

import cmath  print cmath.sqrt(-1)  print (1+3j) * (9+4j)