Lesson 8 of 14 · Structuring your code
Object-oriented programming: classes, inheritance and dataclasses
Objective
Represent the objects of your business — a product, a basket, a loyal customer, a server to monitor — with classes that group together the data and the processing that belong together. You will be able to write a class, specialize it through inheritance, and let dataclasses write the repetitive code.
This lesson is part of the full course
Unlock Python: Programming, Automation and Data Analysis to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.