Variable fnm1 nad fn

I sit important to write fnm1 first and then fn instead of directly writing it fn=n*factorial(n-1)?

It has been written separately just to make it easier to understand. It is completely correct to write it as

fn = n*factorial(n-1)

as well.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.