본문 바로가기

프로그래밍 언어/Python

[Python] math.factorial() 함수

math 모듈을 import하여 factorial() 함수를 사용할 수 있다.