Python math.e Constant
Voorbeeld
Druk het Euler-nummer af:
# Import math Library
import math
# Print the value of E
print (math.e)
Definitie en gebruik
De math.e
constante retourneert het Eular-getal: 2.718281828459045.
Syntaxis
math.e
Technische details
Winstwaarde: | Een float waarde, 2,718281828459045, die de wiskundige constante e . vertegenwoordigt |
---|---|
Python-versie: | 1.5 |