Override


#1



Help Please :confused:


lass 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 calcuate_wage(self, hours):
        return hours * 12.00
        
David = PartTimeEmployee(10)
print david.calculate_wage


#2

@thaanswer500,

Have a close look at

calcuate_wage


#3

LOL got it! :slight_smile: thank you!!!


#4

Opps .. lol... similar mistake :sweat_smile: