Python math.e Constant
Example
Print the value of Euler e:
# Import math Library
import math
# Print the value of Euler e
print (math.e)
Try it Yourself »
Definition and Usage
The math.e
constant returns the eular's number: 2.718281828459045.
Syntax
math.e
Technical Details
Return Value: | A float value, 2.718281828459045, representing the mathematical constant e |
---|---|
Python Version: | 1.5 |