OOP Introduction · Part 2
Class vs instance attributes; class and static methods; `__str__` and `__repr__`.
Lesson 33 · OOP Introduction · Part 2 — Level II · Guide
January 21, 2027 · Bridge Academy Python Program
Learning goals
- Differentiate class and instance attributes. - Use @classmethod and @staticmethod. - Define __str__ and __repr__. - Track small class-level state.
Part 2 refines the object model. Students see that some data belongs to the class as a whole, while some behavior belongs to a single object.
Preview truncated — download the notebook to see the full lesson.