ALTEN Interview Question

Factorial function implementation in Python