파이썬/백준

10872번 : 팩토리얼

L_SU 2022. 6. 19. 22:31
# 팩토리얼

n = int(input())
a = 1

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