Get startedGet started for free

__getattr__() and __setattr__()

Select the incorrect statement about how the __getattr__() and __setattr__() methods are used to customize attribute interactions.

This exercise is part of the course

Intermediate Object-Oriented Programming in Python

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise