from employee import Employee class Boss(Employee): def __init__(self, firstName = None, lastName = None, monthlySalary = 0.0, annualBonus = 0.0): Employee.__init__(self, firstName, lastName, monthlySalary); self.annualBonus = annualBonus; def getAnnualBonus(self): return self.annualBonus def getEarnings(self): return Employee.getEarnings(self) + self.getAnnualBonus() def __repr__(self): return Employee.__repr__(self) \ + " Also, he/she has $" + `self.getAnnualBonus()` + " of annual bonus." if __name__ == "__main__": myEmployee = Boss('Boss', 'Dylon', 7000) print myEmployee myEmployee = Boss('Boss', 'Dylon', 7000, 1000) print myEmployee