AI Instructor Live Labs Included

Python Data Structures and OOP

Master lists, dictionaries, sets, comprehensions, classes, inheritance, and modules — the foundation for every Python framework.

Beginner
10h 40m
12 Lessons
PY-200
Python Data Structures and OOP Badge

View badge details

About This Course

Level up from writing scripts to building structured programs. This course covers Python's core data structures (lists, tuples, dictionaries, sets), powerful comprehension syntax, and object-oriented programming with classes, inheritance, and composition. You'll also learn to organize code into reusable modules and packages. Each lesson pairs AI-guided teaching with hands-on coding exercises where you build an inventory management system from scratch. Requires Python Fundamentals or equivalent experience. This is Course 2 of 3 in the Python Beginner Track.

Course Curriculum

12 Lessons
01
AI Lesson
AI Lesson

Lists and Tuples

30m

List creation, indexing, slicing, methods (append/extend/insert/remove/pop/sort), iteration with for/enumerate/zip, tuples as immutable sequences, tuple unpacking

02
Lab Exercise
Lab Exercise

Lists and Tuples - Lab Exercises

1h 15m 1 Exercises

List creation, indexing, slicing, methods (append/extend/insert/remove/pop/sort), iteration with for/enumerate/zip, tuples as immutable sequences, tuple unpacking, when to use which

Understanding Lists and Tuples in Python Understanding Lists and Tuples in Python ~30 min
03
AI Lesson
AI Lesson

Dictionaries and Sets

30m

Dict creation, access, methods, iterating dicts, nested dicts, sets for unique collections, set operations, choosing the right data structure

04
Lab Exercise
Lab Exercise

Dictionaries and Sets - Lab Exercises

1h 15m 1 Exercises

Dict creation, access with [] and .get(), methods (keys/values/items/update/pop), iterating dicts, nested dicts, sets for unique collections, set operations (union/intersection/difference), choosing the right data structure

Working with Python Dictionaries and Sets Working with Python Dictionaries and Sets ~30 min
05
AI Lesson
AI Lesson

List Comprehensions and Generators

30m

List comprehensions with filtering, dict and set comprehensions, generator expressions, yield, lazy evaluation, memory efficiency

06
Lab Exercise
Lab Exercise

List Comprehensions and Generators - Lab Exercises

1h 15m 1 Exercises

List comprehensions with filtering, dict comprehensions, set comprehensions, generator expressions with yield, lazy evaluation, memory efficiency, readability guidelines

Python List Comprehensions and Generators - Building Efficient Data Processing Tools Python List Comprehensions and Generators - Building Efficient Data Processing Tools ~30 min
07
AI Lesson
AI Lesson

Classes and Objects

35m

class, __init__, self, instance attributes, methods, __str__/__repr__, @property, class vs instance attributes

08
Lab Exercise
Lab Exercise

Classes and Objects - Lab Exercises

1h 15m 1 Exercises

class keyword, __init__, self, instance attributes, methods, __str__ and __repr__, @property decorators, class vs instance attributes

Python Classes and Objects - Building a Pet Management System Python Classes and Objects - Building a Pet Management System ~30 min
09
AI Lesson
AI Lesson

Inheritance and Composition

35m

Single inheritance with super(), method overriding, abstract base classes, composition (has-a vs is-a), design guidelines

10
Lab Exercise
Lab Exercise

Inheritance and Composition - Lab Exercises

1h 15m 1 Exercises

Single inheritance with super(), method overriding, abstract base classes (ABC/abstractmethod), composition (has-a vs is-a), design guidelines for when to use each

Understanding Inheritance and Composition in Python Understanding Inheritance and Composition in Python ~30 min
11
AI Lesson
AI Lesson

Modules Packages and Imports

30m

Modules as .py files, import/from import/as, __name__ guard, packages with __init__.py, standard library highlights

12
Lab Exercise
Lab Exercise

Modules Packages and Imports - Lab Exercises

1h 15m 1 Exercises

Modules as .py files, import/from import/as, __name__ == __main__, packages with __init__.py, standard library highlights (pathlib, json, datetime, collections)

Understanding Python Modules, Packages, and Imports Understanding Python Modules, Packages, and Imports ~30 min

This course includes:

  • 24/7 AI Instructor Support
  • Live Lab Environments
  • 6 Hands-on Lessons
  • 6 Months Access
  • Completion Badge
  • Certificate of Completion
Python Data Structures and OOP Badge

Earn Your Badge

Complete all lessons to unlock the Python Data Structures and OOP achievement badge.

Category
Skill Level Beginner
Total Duration 10h 40m
Python Data Structures and OOP Badge
Achievement Badge

Python Data Structures and OOP

Awarded for completing the Python Data Structures and OOP course. Demonstrates proficiency in lists, dictionaries, sets, comprehensions, classes, inheritance, and modules.

Course Python Data Structures and OOP
Criteria Complete all lessons in the Python Data Structures and OOP course

Skills You'll Earn

Python Lists Dictionaries Sets Comprehensions Classes Inheritance Modules

Complete all lessons in this course to earn this badge