Python math.e Stała
Przykład
Wydrukuj numer Eulera:
# Import math Library
import math
# Print the value of E
print (math.e)
Definicja i użycie
Stała math.e
zwraca liczbę Eulara: 2.718281828459045.
Składnia
math.e
Szczegóły techniczne
Wartość zwrotu: | Wartość float 2,718281828459045, reprezentująca stałą matematyczną e |
---|---|
Wersja Pythona: | 1,5 |