Professional Documents
Culture Documents
Document (4) APP
Document (4) APP
Self.name = name
Self.salary = salary
Class Manager(Employee):
Super().__init__(name, salary)
Self.department = department
Def print_info(self):
Class Executive(Manager):
Def print_info(self):
Print(“Executive”,end=””)
Super().print_info()
If __name__ == “__main__”:
Print(“Employee Info:”)
Print(“\nManager Info:”)
Manager1.print_info()
Print(“\nExecutive Info:”)
Executive1.print_info()