Recursion is a concept where a function calls itself. But before learning recursion, you should understand the concept of "Stack" which is a LIFO (Last In First Out) structure and the compiler uses stack to push all the statements which were not executed because of the recursive call. Once the recursion is over, the compiler pops all the statements that are in stack and executes them finally.
Complete playlist for Python video tutorial:
https://www.youtube.com/watch?v=fCGHUs82rVU&list=PLuDr_vb2LpAzjGpVgiM5pJUq5u6t1S1HD
Sum of List using Recursion in Python | Factorial Program in Python using Recursion | Recursion PDF
https://www.youtube.com/watch?v=23Telp7KRGM
Python program for nth fibonacci number | Check if string is palindrome using recursion in python
https://www.youtube.com/watch?v=D-lpR7LDTYw
Subscribe to our channel and hit the bell icon : https://youtube.com/c/bintuharwani