运行,显示TypeError: 'NoneType' object is not subscriptable错误信息,原因是变量使用了系统内置的关键字list

TypeError: 'NoneType' object is not subscriptable

重新定义下这个变量就好了

相关文章: