You can change the values of a class's attributes. When you create an instance of your class, you can also change (or override) the values of any class attributes it inherits. The effect these changes have depends on what data types the attributes are, how you change the values, and in what order you change the values.
When we first define our Lab instance, pilot, it has the same value for weight that the Lab class defines:
Was this article helpful?