[solved]Override issue


#1



I can not see why this code doesn't work. It is telling me that PartTimeEmployee's calculate_wage method doesn't override Employee's calculate_wage method, but they are exactly the same.


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 * 20.00

Neve rmind. I figured it out. It wasn't overriding because It WAS exactly the same, the wage needed to be 12 instead of 20.


#2