python 常见错误

外部参数

var=100
def func():
var=5 #不可行。建议用传参。(或public)

原文地址:https://www.cnblogs.com/lqerio/p/11155384.html