6.100L | Fall 2022 | Undergraduate

Introduction to CS and Programming using Python

Lecture 17: Python Classes

Prof. Bell discusses how classes make it easy to reuse code. Each class has a separate environment (no collision on function names) and inheritance allows subclasses to redefine or extend a selected subset of a superclass’s behavior.

Course Info

Instructor
As Taught In
Fall 2022
Learning Resource Types
Lecture Videos
Lecture Notes
Problem Sets
Programming Assignments with Examples
Readings
Recitation Notes