잉?

Codeup 1276 : 팩토리얼 계산 본문

알고리즘_Algorism/Codeup

Codeup 1276 : 팩토리얼 계산

Jye_647 2019. 7. 22. 20:36

https://codeup.kr/problem.php?id=1276

 

1276 : 팩토리얼 계산

n = int(input())
fac = 1

for i in range(1, n+1):
    fac *= i

print(fac)

 

Comments