I\'m working on an AI homework, and despite my professor\'s suggestions, I have no intention of writing this assignment in lisp. However, I do want to write it recursiv
>>> i=0 >>> def a(): ... global i ... i += 1 ... try: ... a() ... except: ... print(i) ... >>> a() 999 >>> import sys >>> sys.getrecursionlimit() 1000
Not sure if that helps