Recursion in Python using Factorial Example #shorts

preview_player
Показать описание
What is recursion?
Recursion is the process of defining something in terms of itself.

A physical world example would be to place two parallel mirrors facing each other. Any object in between them would be reflected recursively.

Python Recursive Function
In Python, we know that a function can call other functions. It is even possible for the function to call itself. These types of construct are termed as recursive functions.

The following video shows the working of a recursive function called factorial.

#shorts #Shorts #python #recursion #learnpython #youtubeshorts
Рекомендации по теме
Комментарии
Автор

Thank you for your videos. Really could help someone who is preparing for an interview!!

sujis
join shbcf.ru