n = int(input('Enter the number of n: '))


def fact(n):
    # Base Case
    if n == 1:
        return 1
    # Recursive case
    else:
        return n * fact(n - 1)


print(fact(n))

366f9dc8e9ab67da3d27d4fa45ff4d968fc18552
<mask token>

<mask token>


def fact(n):
    if n == 1:
        return 1
    else:
        return n * fact(n - 1)


<mask token>

<mask token>


def fact(n):
    if n == 1:
        return 1
    else:
        return n * fact(n - 1)


print(fact(n))

n = int(input('Enter the number of n: '))


def fact(n):
    if n == 1:
        return 1
    else:
        return n * fact(n - 1)


print(fact(n))

n = int(input('Enter the number of n: '))


def fact(n):
    # Base Case
    if n == 1:
        return 1
    # Recursive case
    else:
        return n * fact(n - 1)


print(fact(n))
