IBM interview question

Demonstration of class in Python