I’m trying to make a code that checks from what positions the knight can visit the entire board without going there again. I know there’s an infinite loop inside my function but I do not understand what causes it and how to fix it. I’m not sure how to make my code stop since it does stop with my “else” in similar codes I wrote
New contributor
GreenTeaBitch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.