백준 10872번: 팩토리얼 #Python

ColorlessDia·2024년 2월 10일

algorithm/baekjoon

목록 보기
52/808
N = int(input())

factorial = 1

for i in range(1, N + 1):
    factorial *= i

print(factorial)

0개의 댓글