Factorial Generator
A generator produces factorial values one at a time, reusing the previous value instead of recomputing from scratch. The
A generator produces factorial values one at a time, reusing the previous value instead of recomputing from scratch. The