14/18 I think i didn't understood how pass the arguments


#1

Hello

I'm trying to call a "super" function. I think i understood the thing, but my code don't works.

Could someone tell me what is wrong in my code?

Thank you very much!!

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,hours):
return super(PartTimeEmployee,self).calculate_wage()

milton = PartTimeEmployee("Milton")
print milton.full_time_wage(10)


#2

Hi your inside calculate_wage( "here" ) you should put hours


#3

That is!

Thank you very much!!