All lessons
Classes & OOP
Bundle data and behaviour together: your own types with attributes and methods — the heart of modern Python.
Python errors explainedFrequently asked questions
What is the lesson “Classes & OOP” about?
Bundle data and behaviour together: your own types with attributes and methods — the heart of modern Python.
How many exercises are in this lesson?
This lesson has 4 exercises.
Do I need to install anything to do the exercises?
No. The code is written and run in the browser.