Infosys Interview Question

Mostly regarding OOP concepts in python