Python's math module includes the attribute e, which returns the Euler's number e (2.71828...).

ExampleEdit & Run
#import math module
import math

#Print the value of Euler's number
print(math.e)
copy
Output:
2.718281828459045 [Finished in 0.010852813255041838s]
Syntax:
math.e
copy
ExampleEdit & Run
import math

print(math.log(10, math.e))
copy
Output:
2.302585092994046 [Finished in 0.01016655471175909s]