The original fibre-tipped pen. Perfect for graphics and illustrations. Non-permanent water-based ink. For office, college or home. Approx line width up to 2.0mm. Made from 83% recycled material. (black, red, blue and green only - excludes the ink)
Recursion is a way of programming or coding a problem, in which a function calls itself one or more times in its body. Usually, it is returning the return value of this function call. If a function definition fulfils the condition of recursion, we call this function a recursive function.
Python recursive function error: maximum recursion depth exceeded. Recursion is not the most idiomatic way to do things in Python, as it doesn't have tail recursion optimization thus making impractical the use of recursion as a substitute for iteration (even if in your example the function is not tail-recursive, that wouldn't help anyway).