Advertisements
Advertisements
प्रश्न
How recursive function works?
टिप्पणी लिखिए
उत्तर
- A recursive function is called by some external code.
- If the base condition is met then the program gives meaningful output and exits.
- Otherwise, the function does some required processing and then calls itself to continue recursion.
shaalaa.com
Python Recursive Functions
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?