hands-on lab

Python: Inheritance

Intermediate
Up to 2h
145
5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Learn one of the core aspects of object-oriented programming.

Object oriented programming consists of bundling data and code together into a single entity referred to as objects. Objects are the atomic building block of the Python runtime; which makes the runtime entirely object-oriented.

Understanding objects is the key to mastering Python. Learn how to create object hierarchies in this hands-on lab.

Learning Objectives:

  • Base classes
  • Derived classes
  • Single inheritance
  • Multiple inheritance
  • Abstract base classes
  • Composition

Prerequisites:

  • Proficient with:
    • The Python runtime
    • The Python language syntax
    • The anatomy of objects

About the author

Students
113,463
Labs
37
Courses
51
Learning paths
58

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered topics

Lab steps

Web IDE Review
Single Inheritance
Multiple Inheritance
Abstract Base Classes
Composition
Summary