Python math.e costante
Esempio
Stampa il numero di Eulero:
# Import math Library
import math
# Print the value of E
print (math.e)
Definizione e utilizzo
La math.e
costante restituisce il numero di Eular: 2.718281828459045.
Sintassi
math.e
Dettagli tecnici
Valore di ritorno: | Un float valore, 2.718281828459045, che rappresenta la costante matematica e |
---|---|
Versione Python: | 1.5 |