📜  UnboundLocalError:局部变量 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:11.830000             🧑  作者: Mango

代码示例2
Add the global keyword to the variable defined outside the function