Python 3.6 Question:
My attempt:
Error Message:
Codes:
class Employee(object):
def __init__(self, name, salary):
self._name = name
self._salary = salary
def get_name(self):
return self._name
def wage(self):
return self._salary / 26
class Worker(Employee):
def __init__(self, name, salary, manager):
super(Worker, self).__init__(name, salary)
self._manager = manager
def get_manager(self):
return self._manager.get_name()
class Executive(Employee):
def __init__(self, name, salary, bonus):
super(Executive, self).__init__(name, salary)
self._bonus =
OR
OR