```
def _factorial_sample_(n):
if n == 0 or n == 1:
return 1
else:
result = n * _factorial_sample_(n-1)
print("n is ", n, "*", result )
return result
print(_factorial_sample_(10))
```

`print("n is ", n, "*", result )`

```
n is 2 * 2
n is 3 * 6
n is 4 * 24
n is 5 * 120
n is 6 * 720
n is 7 * 5040
n is 8 * 40320
n is 9 * 362880
n is 10 * 3628800
3628800
I want to print as below
1st line 2x1 =2
2nd line 3x2 = 6
3rd line 4x6 = 24
So on```
```