```
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))
```

Seems like you are already doing what you want.

`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```
```

If you look at the result you already are printing, you are almost there. You just need to incorporate the result of the previous calculation (with the first one using a result of 1). See if you can figure out how to “save” the previous result to use in the calculation of the next line’s result.