• 회원가입
  • 로그인
  • 구글아이디로 로그인

[module] Python - math.e 상수 - 오일러 상수 (2.71...)

963  

목차

  1. math.e 예제
  2. math.e 정의
  3. math.e 구문

 

math.e 예제

 

import math

print (math.e)

 

결과값: 2.718281828459045

 

math.e 정의

 

오일러 상수 (= 2.718281828459045) 반환.

 


 

※ Python 1.5 이상.

 

 

math.e 구문

 

math.e

 


[반환값]

 

2.718281828459045 반환. 

※ float 형식.

 



분류 제목
module Python - cmath.tan(x) 메서드 -
module Python - cmath.tanh(x) 메서드 -
module Python - cmath.e 상수 - 오일러 상수 (2.71...)
module Python - cmath.inf 상수 - float 자료형의 무한대 상수 (= inf) 반환.
module Python - cmath.infj 상수 - complex 자료형의 무한대 상수 (= infj) 반환.
module Python - cmath.nan 상수 - float 자료형의 nan 상수 (= nan) 반환.
module Python - cmath.nanj 상수 - complex 자료형의 nan 상수 (= nanj) 반환.
module Python - cmath.pi 상수 - 원주율 (= 3.14...) 반환. (= 파이 상수)
module Python - cmath.tau 상수 - 원주율 2배 (= 6.28...) 반환. (= 타우 상수)
7/7
목록
찾아주셔서 감사합니다. Since 2012