• + 0 comments
    from functools import cache
    
    @cache
    def extraLongFactorials(n):
        return n * extraLongFactorials(n-1) if n else 1