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


print(fact_lin_rec(0))
print(fact_lin_rec(1))
print(fact_lin_rec(2))
print(fact_lin_rec(3))
print(fact_lin_rec(4))
print(fact_lin_rec(5))

567640836ede6c1675b32b3d9b3b93cc4acbcb52
<mask token>

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


<mask token>

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


print(fact_lin_rec(0))
print(fact_lin_rec(1))
print(fact_lin_rec(2))
print(fact_lin_rec(3))
print(fact_lin_rec(4))
print(fact_lin_rec(5))
