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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?