Traceback (most recent call last): File "Teste Projeto - Python/19.py", line 301, in main() File "Teste Projeto - Python/19.py", line 293, in main findPath2(matrix, alphabet[0], alphabet, start, goal) File "Teste Projeto - Python/19.py", line 256, in findPath2 validPath = findPath2(matrix, letter, alphabet, n, goal) File "Teste Projeto - Python/19.py", line 256, in findPath2 validPath = findPath2(matrix, letter, alphabet, n, goal) File "Teste Projeto - Python/19.py", line 256, in findPath2 validPath = findPath2(matrix, letter, alphabet, n, goal) [Previous line repeated 992 more times] File "Teste Projeto - Python/19.py", line 222, in findPath2 for w in sorted(dist.items(), key = lambda x: x[1]): RecursionError: maximum recursion depth exceeded Command exited with non-zero status 1 0.10user 0.00system 0:00.10elapsed 98%CPU (0avgtext+0avgdata 30484maxresident)k 0inputs+8outputs (0major+4994minor)pagefaults 0swaps