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