属性添加怎么出现错我
school.append('ha')
Traceback (most recent call last):
File "<pyshell#34>", line 1, in <module>
school.append('ha')
AttributeError: 'tuple' object has no attribute 'append'
school.append('ha')
Traceback (most recent call last):
File "<pyshell#34>", line 1, in <module>
school.append('ha')
AttributeError: 'tuple' object has no attribute 'append'
2016-02-02
举报