Ad Code

Responsive Advertisement

Python Recursion - def fun(x): if x>100:

Python Recursion Problem -: 


Question -:

def fun(x):
   if x>100: 
      return x-5
   return fun(fun(x+11)) 
print(fun(45))   


Solution-:

Click here -:    Solution