My global variable in python cannot be referenced from outside the def it was created in

前端 未结 0 619
半阙折子戏
半阙折子戏 2020-12-31 06:53

I am building a maze solver using the breadth first search algorithm and I keep hitting an error that says UnboundLocalError: local variable \'starting_point\' referenced be

相关标签:
回答
  • 消灭零回复
提交回复
热议问题