AttributeError: 'zip' object has no attribute 'append'