请看看我这个setattr()方法哪里有问题?

代码和报错如下:
img

32行代码报错,Person类没有address的属性

你把第4行pass删了,你一个pass导致就不能使用setattr了,具体原因不明