How To Make A Factorial Function In Python