KPMG Interview Question

Explain oops in python with program.