Lesson 23 of 34 · +110 xp

Inheritance

Subclass.

Explained simply

Your task

Write: class Puppy(Dog): pass

inherit.py
▶ Output (python)
Click 'Run code' to execute your code in a real sandbox.
← Back