• StopIteration, I don't know how to procede


I would like to give some feedback about ...

From: https://py.checkio.org/mission/power-plants/solve/


Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

Hello, my code at some of the extra tests can't found a combination of letters to solve the problems, I tried to find the cause of this but I ran out of ideas. please help.

my code: https://github.com/EdinsonUwU/POWER_PLANTS/tree/main

PS: I suspect it has to be something related to the way in which I am using the algo of search of neighboors