How to change a variable of a running function in python3 with out using Global

后端 未结 0 887
盖世英雄少女心
盖世英雄少女心 2020-11-27 02:58

I\'m trying to stop a running function from another function. I know you can use a global variable but from the reading I\'ve done its bad practice to make variables global

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