def facto(number):
    number = int(number)
    if number <= 1:
        return 1
    else:
        return number * facto(number - 1)

# note: f strings don't allow escape sequences in substrings


print(f"{facto(input('Enter a number:'))} is the factorial")

50024dda9e6169a0916ec4bd7cf2f8d4ed861de1
<mask token>

def facto(number):
    number = int(number)
    if number <= 1:
        return 1
    else:
        return number * facto(number - 1)


<mask token>

def facto(number):
    number = int(number)
    if number <= 1:
        return 1
    else:
        return number * facto(number - 1)


print(f"{facto(input('Enter a number:'))} is the factorial")

def facto(number):
    number = int(number)
    if number <= 1:
        return 1
    else:
        return number * facto(number - 1)

# note: f strings don't allow escape sequences in substrings


print(f"{facto(input('Enter a number:'))} is the factorial")
