Question about "This Looks Like a Job For..."
I get no errors in the console neither in PyCharm, but I there is the error on UI validator which blocks me from moving to the next lesson.
The error is "Oops, try again. milton.full_time_wage(0) returned 20.0 instead of the correct value: 0"
No errors or reasonable explanation of what is wrong with my code.
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 return hours * 12.00 def full_time_wage(self, hour): return super(PartTimeEmployee, self).calculate_wage(hours) milton = PartTimeEmployee(Employee) hours=1 print milton.full_time_wage(hours)