Tri Recursion In Python Factorial Program