Python AttributeError: A Complete Guide
www.techgeekbuzz.com › python-attributeerrorOct 29, 2021 · In this example, we are getting the attribute error "AttributeError: 'set' object has no attribute 'append'". This is because container2 is a set object and it does not have any method append(). append() method is only supported by Python’s list objects. To add a new element to the set object we use add() method. Example 1 solution