AttributeError: 'str' object has no attribute 'append'运行之后直接21行是这个报错
收起
应该是names.append(name)吧
names.append(name)
报告相同问题?