How to find the factorial-! of a number using Recursion in python | What is recursion | All concepts

Опубликовано: 01 Апрель 2026
на канале: Addy Koder
43
4

So, in today's video I am going to share with you that how can you find the factorial of a number using recursion. What is factorial. What is the processing behind the calculation of factorial. How can you calculate a factorial.

code shown in video:

def fact(n):
if n == 1:
return 1
return n * fact(n-1)

print(fact(7))

if you find this video helpful then don't forget to like the video and if you have any doubts then you can comment down those doubts and I will surely reply to all your comments.

Thanks for watching the video