Valor de retorno de Python Cache

from functools import cache

@cache
def factorial(n):
    return n * factorial(n-1) if n else 1
Arno Deceuninck