A Python script raises `RecursionError: maximum recursion depth exceeded`. What is the most appropriate fix?
-
A
Add a base case to terminate recursion
-
B
Increase the recursion limit with sys.setrecursionlimit()
-
C
Convert all integers to floats
-
D
Use a try/except block to catch the error and ignore it