Iterative Factorial Python Math Functions