In <[email protected]> Ho Yeung Lee <[email protected]> writes:
> i write a program, it is like forever loop > but i only restrict it to run 2 level recursively, I don't think the restriction is working. There is "if deep > 0:" at the top of the function, but the recursive calls aren't inside that if block. DFS keeps calling itself with smaller and smaller values of deep. -- John Gordon A is for Amy, who fell down the stairs [email protected] B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies" -- https://mail.python.org/mailman/listinfo/python-list
