pychallenger

pychallenger

  • Dashboard
  • Python Basics
  • Intermediate Python
  • Basic Data Analysis
  • Login
Home Intermediate Python
Classes and OOP II

Classes and OOP II

inheritance
subclass
super
method overriding
magic methods
dunder
__repr__
__eq__
__add__
__len__
object-oriented programming
NEXT

Inheritance

LESSON

Define a Subclass

CHALLENGE

Use an Inherited Attribute

CHALLENGE

isinstance with Parent Class

CHALLENGE

Subclass with Extra Method

CHALLENGE

Write a Subclass from Scratch

CHALLENGE

super() and Method Overriding

LESSON

Override a Method

CHALLENGE

super().__init__ with One Argument

CHALLENGE

super() Inside a Method

CHALLENGE

Subclass Adds Its Own Attribute

CHALLENGE

Write the Subclass __init__ from Scratch

CHALLENGE

Magic Methods

LESSON

Implement __repr__

CHALLENGE

Implement __eq__

CHALLENGE

Implement __add__

CHALLENGE

Implement __len__

CHALLENGE

Write Magic Methods from Scratch

CHALLENGE
Links
Blog Pricing Sign Up
Social
Twitter YouTube LinkedIn
Imprint Privacy Policy Terms
Copyright © 2026 Erik Nogueira Kückelheim