AttributeError: ‘set‘ object has no attribute ‘append‘解决办法
AttributeError: ‘set’ object has no attribute 'append’解决办法// An highlighted blockAttributeError: 'set' object has no attribute 'append'原因:all_ids初始化为a set,然后对其.append()进行调用,但是这对于python无效。正确的方法是.add()。
·
已为社区贡献10条内容
所有评论(0)