Python math.e Constante
Ejemplo
Escribe el número de Euler:
# Import math Library
import math
# Print the value of E
print (math.e)
Definición y uso
La math.e
constante devuelve el número de Eular: 2.718281828459045.
Sintaxis
math.e
Detalles técnicos
Valor devuelto: | Un float valor, 2.718281828459045, que representa la constante matemática e |
---|---|
Versión de Python: | 1.5 |