[HR] Implementation : Extra Long Factorials

yozzum·2022년 7월 17일
0

https://www.hackerrank.com/challenges/extra-long-factorials/problem?isFullScreen=true

코드(성공)

def extraLongFactorials(n):
    # Write your code here
    answer = 1
    for i in range(1, n+1):
        answer *= i
    print(answer)
    return answer
profile
yozzum

0개의 댓글