Flexciton interview question

OOP concepts and implementation using Python