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