What if we need to use a variable that is defined outside a nested function.
那如果我们需要使用定义在嵌套函数外面的变量呢?
When you create a variable outside of any function, it belongs to__main_\.
当你在所有函数之外建立一个变量的时候,这个变量就属于主函数所有。
It can't normally change the value of a variable from outside that scope.
它通常不能更改中的某个变量,该范围之外的值。
It can't normally change the value of a variable from outside that scope.
它通常不能更改中的某个变量,该范围之外的值。
应用推荐