赞
踩
NameError: name ‘xxx’ is not defined
名称错误: 未定义名称“xxx” 意思就是程序根本不知道你这个玩意从哪里来的
名称错误:
程序不知道a是个啥, 所以报错了
解决方法: 定义一下就可以了
解决方法: 导入模块
也可能有其他的原因到时候再补全吧, 未完…