SHSubjectHub

What is a Class? (Python)

OOPA-levelLesson packSubscription

About this resource

Understand what classes and objects are, how to store data using attributes, and how to write a constructor in Python.

9 slides.

Lesson outline

  1. The Blueprint Analogy
  2. Designing a Class: The UML Box
  3. The Constructor — `__init__`
  4. Creating Dog Objects
  5. Coding Practice: Your First Class
  6. Common Mistakes to Watch Out For
  7. Lesson Summary
Unit bundleUnit 1A · What is a Class?
Part of: Unit 1A · What is a Class?: the whole unitEvery resource in the unit in one zip.

More from Unit 1A · What is a Class?