Greedy Algorithm And Dynamic Programming Python Code For Factorial Of A Number