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


num = 5

if num < 0:
    print("No negative numbers")
elif num == 0:
    print("Factorial is: 1")
else:
    print("Factorial is: ", myfact(num))
363be1f5562be89b4f948a49d8fb5a64a67c1d84
<mask token>

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


<mask token>

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


<mask token>
if num < 0:
    print('No negative numbers')
elif num == 0:
    print('Factorial is: 1')
else:
    print('Factorial is: ', myfact(num))

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


num = 5
if num < 0:
    print('No negative numbers')
elif num == 0:
    print('Factorial is: 1')
else:
    print('Factorial is: ', myfact(num))


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


num = 5

if num < 0:
    print("No negative numbers")
elif num == 0:
    print("Factorial is: 1")
else:
    print("Factorial is: ", myfact(num))