class employee ()://this is parent class def __init__(selfnameagesalary)self name name self age age self salary salary class childemployee(employee )://this is child class def __init__(selfnameagesalary,id)self name name self age age self salary salary self id id emp employee ('harshit', , print(emp ageoutput