Skip to content
Codewilds

Lesson 28 of 34 · Classes & OOP

Quiz: Python Classes and OOP

Quizeasy10 XP1 min read

Object-oriented programming lets you design your own types. In this chapter you created classes with __init__ and self, added methods and class attributes, reused code through inheritance and super(), made objects print and compare naturally with dunder methods, and let dataclasses write the boilerplate for you.

Six questions to check your understanding — then on to the chapter boss.

What this quiz covers

The questions check what you learned in the Classes & OOP chapter of Learn Python. Not sure about a topic? Review its lesson first:

Keep learning

Need a quick reminder? The Python cheat sheet has every topic of Learn Python on one page.

Lesson last updated on .

Take the quiz ↓
Quiz+10 XP

Lesson 28 is part of the full course. The first 8 lessons are free.

Premium lesson

Unlock the full Learn Python course

  • All 34 lessons, bosses and quizzes — lifetime access
  • One payment of $35, no subscription
  • Finish within 30 days and claim $10.50 (30%) back
Play the 8 free lessons

Want more than one course?

The All-Access Pass unlocks all 8 courses and every new one we release, for $120 once.