AttributeError is raised when an attribute reference or assignment fails.
AttributeError
x = 10 x.append(6)