Python math.e Konstanta
Contoh
Cetak nomor Euler:
# Import math Library
import math
# Print the value of E
print (math.e)
Definisi dan Penggunaan
Konstanta math.e
mengembalikan nomor Eular: 2.718281828459045.
Sintaksis
math.e
Detail Teknis
Nilai Kembali: | Nilai float , 2,718281828459045, mewakili konstanta matematika e |
---|---|
Versi Python: | 1.5 |