So Codecademy allows me to move on to the next problem but the console doesn’t print the correct output (200.00). it instead prints this
“bound method PartTimeEmployee.full_time_wage of PartTimeEmployee object at 0x7f333c946f90
Anyone know what’s wrong with my code?
“”“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!
def calculate_wage(self, hours): self.hours = hours return hours * 12.00 def full_time_wage(self, hours): return super(PartTimeEmployee, self).calculate_wage(hours)
milton = PartTimeEmployee(10)
<do not remove the three backticks above>