// resources
Resources
All
|
Cheatsheet
Code Example
Exercise
Template
Other
Achievement
|
Basics
Control Flow
Functions
Data Structures
Modules & Packages
Projects
Object-oriented programming
|
↑ oldest first
↓ newest first
// Exercise
safe_paws_oop.py
Safe Paws — OOP version. Two classes: Animal and Shelter. Add, search, edit, adopt, activity report. Shelter("city_shel…
// Other
oop_mistakes.py
Common OOP Mistakes — 8 mistakes, 8 fixes. self, super(), mutable defaults, class vs instance attributes, single respon…
// Cheatsheet
OOP — The Full Picture
OOP — The Full Picture. Class and object, self, encapsulation, inheritance, polymorphism, special methods, common mista…
// Exercise
task_manager_r1.py
Task Manager — Round 1. Task and TaskList classes, add, load, display, persistence. Two classes, one system, ready to r…
// Exercise
task_manager.py
Task Manager — Round 2. Update status, filter by priority and status, delete with confirmation, export report grouped b…
// Achievement
oop_complete_medal.stl
You finished the OOP chapter. Download, print, and keep it. You earned it.