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