12 lessons from zero to object-oriented programming.
Unlock the full course
60 lessons, AI tutor, chapter reviews — $4.99/mo
Your first lines of code
Storing data and understanding what kind it is
Manipulating text and reading user input
Making decisions with conditionals
Repeating actions with for and while
Organizing data with lists, tuples, dicts, and sets
Reusable blocks of logic
Catching and managing exceptions gracefully
Why objects? Classes, instances, __init__, and self
Instance vs class attributes, __str__, and __repr__
Subclassing, super(), and method overriding
Encapsulation, polymorphism, composition, and @property