KingswaySoft interview question

Applying OOP principles in Python