Home >>Python cmath Module >Python cmath.infj Constant
Python cmath.infj constant is used to return a complex positive infinity. The return value has a 0 as real part and positive infinity as the imaginary part.
Syntax:cmath.infjHere is an example of Python cmath.infj constant:
import cmath
print (cmath.infj)