파이썬 cmath.constant _
예시
오일러 e의 값을 인쇄하십시오.
# Import cmath Library
import cmath
# Print the value of Euler e
print (cmath.e)
정의 및 사용
상수는 eular 의 cmath.e
번호 2.718281828459045를 반환합니다.
통사론
cmath.e
기술적 세부 사항
반환 값: | float 수학 상수 e 를 나타내는 값 2.718281828459045 |
---|---|
파이썬 버전: | 1.5 |