Python math.e Constante
Exemple
Imprimer le nombre d'Euler :
# Import math Library
import math
# Print the value of E
print (math.e)
Définition et utilisation
La math.e
constante renvoie le nombre d'Eular : 2,718281828459045.
Syntaxe
math.e
Détails techniques
Valeur de retour : | Une float valeur, 2,718281828459045, représentant la constante mathématique e |
---|---|
Version Python : | 1.5 |