Run »
#Import cmath Library import cmath # Print the value of nan print (cmath.nanj) print (type(cmath.nanj))
nanj
<class 'complex'>