def factorial (n):
    """ Calcula el factorial de n.

    n int > 0
    returns n!
    """
    if n == 1:
        return 1
       
    
    else:
        return n * factorial(n - 1)
        


n = int (input("Escribe un entero"))
print (factorial(n))
fe4516107613868b859d4cea7080178518981f76
<mask token>

def factorial(n):
    """ Calcula el factorial de n.

    n int > 0
    returns n!
    """
    if n == 1:
        return 1
    else:
        return n * factorial(n - 1)


<mask token>

def factorial(n):
    """ Calcula el factorial de n.

    n int > 0
    returns n!
    """
    if n == 1:
        return 1
    else:
        return n * factorial(n - 1)


<mask token>
print(factorial(n))

def factorial(n):
    """ Calcula el factorial de n.

    n int > 0
    returns n!
    """
    if n == 1:
        return 1
    else:
        return n * factorial(n - 1)


n = int(input('Escribe un entero'))
print(factorial(n))

def factorial (n):
    """ Calcula el factorial de n.

    n int > 0
    returns n!
    """
    if n == 1:
        return 1
       
    
    else:
        return n * factorial(n - 1)
        


n = int (input("Escribe un entero"))
print (factorial(n))