derived class constructor calls base class constructor directly (contd base class employee class employeedef __init__(selfnampos)self name nam self position pos promotion_table 'shop_floor'staff''staff'manager''manager'executuvedef promote(self)self position employee promotion_table[self positiondef myprint(self)printself name"%sself positionend="derived class manager class manageremployee )def __init__(selfnamposdept)employee __init__(selfnamposself dept dept #(adef promote(self)if self position ='executive'print"not possiblereturn super(managerselfpromote(def myprint(self)super(managerselfmyprint(printself dept test code emp employee("orpheus""staff"emp myprint(orpheus staff print("\ "emp promote(printemp position manager emp myprint(orpheus manager man manager("zaphod""manager""sales"man myprint(zaphod manager sales man promote(print("\ "printman position executive print(isinstance(manemployee)print(isinstance(empmanager)print(isinstance(manobject)print(isinstance(empobject)purdue university true false true true