Home >>Python cmath Module >Python cmath.e Constant

Python cmath.e Constant

Python cmath.e Constant

Phyton cmath.e constant is used to return the eular's number value 2.718281828459045.

Syntax:
cmath.e
Here is an example of Python cmath.e constant:

import cmath
print (cmath.e)

Output:
2.718281828459045