Tyroo Media interview question

Related to Python, OOPS, Design Patterns