To stop the recursion we must provide an base. Apart from providing the base, when does a recursion stops. Does it stops when it stops calling itself again?.
def func(x):
n=[]
for i in n:
func(x)
Here, does it call the function or does nothing. Does recursion stop at scenario like this and starts backtracking?