I've been looking at this code for ages and I can't see what's wrong with it? Can somebody help?
class Employee(object): """Models real-life employees!""" def __init__(self, employee_name): self.employee_name = employee_name def calculate_wage(self, hours): self.hours = hours return hours * 20.00 # Add your code below! class PartTimeEmployee(Employee): def calculate_wage(self, hours): self.hours = hours print hours * 12.00 return hours * 12.00 def full_time_wage(self,hours): return super((PartTimeEmployee, self).calculate_wage() milton = PartTimeEmployee("aa") print milton.full_time_wage()
This is my error:
File "python", line 18
milton = PartTimeEmployee("aa")
SyntaxError: invalid syntax