TIL-CodeKata-Day15

최창현·2022년 2월 1일
0
post-thumbnail

def factorial(n):
    # 여기에 코드를 작성해주세요.
    result = 1
    for i in range(1,n+1):
        result *= i
    return result
profile
chch_oi

0개의 댓글