 Hi everyone, in this tutorial you will learn how to write a program to find factorial of a number using recursion in Python language. We're gonna write our program by using this recursive formula. It says that if n is equal to one then the value of our factorial is gonna be one, one is gonna be the returning value and on the other case if our number is not equal to one then the factorial of our number is gonna be that number times that number minus one factorial. On the other words in this case factorial function is gonna call itself with an argument that's less than one than initial argument. Let's implement this recursive formula in our program. So I'm gonna create a function I'm gonna call it factorial I want to find factorial of a number this variable n stands for number so our recursive formula said that if n is equal to one then we're gonna return one as the result and in other way we're gonna return n times factorial of n minus one and that's it let's try to find factorial of a number five for example and let's try to print our result let's run this code and as you can see here we got the result 120 which the result of finding factorial of number five that's all in this tutorial don't forget to subscribe to my channel