Can you help me?


Hi, can you help me? this is 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
    def full_time_wage(self,hours):
print milton.full_time_wage(10)

The error is:
Oops, try again. milton.full_time_wage(0) returned None instead of the correct value: 0

14/18This Looks Like a Job For

Al you need is to,
return super(PartTimeEmployee,self).calculate_wage(hours)

That's all. :slight_smile: