CJCoding With Joseph
15free / daySign inCreate account
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
Python Quiz #35

What Recursion Error Means

easyRecursion

This program stops with RecursionError: maximum recursion depth exceeded. What has happened, and what are the two usual causes of this error?

📄 Code

1def down(n: int) -> int:
2 return down(n - 1)
3 
4print(down(5))