Python math.e Konstante
Beispiel
Drucken Sie die Eulersche Zahl:
# Import math Library
import math
# Print the value of E
print (math.e)
Definition und Verwendung
Die math.e
Konstante gibt die Eular-Nummer zurück: 2.718281828459045.
Syntax
math.e
Technische Details
Rückgabewert: | Ein float Wert, 2,718281828459045, der die mathematische Konstante e darstellt |
---|---|
Python-Version: | 1.5 |