eVitalRx interview question

Oop concepts all with python framework and typecast