Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
NameError: local variable referenced before assignment
为什么
变量没赋值,就使用了,所以错了。
https://cn.bing.com/search?q=python3+NameError%3A+local+variable+referenced+before+assignment&qs=n&form=QBLHCN&sp=-1&pq=python3+&sc=8-8&sk=&cvid=5F4F1688DB3B4521809687BE47CB68DF