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 claculate_wage(self, hours):
        self.hours = hours
        return hours * 12.00

print Sumit.calculate_wage(4)
print amit.calculate_wage(4)

What wrong with this code. its not overriding the base class


It would feel better if we didn't know this was copied directly from another post, but since that post was from so long ago (even though you bumped it) let's consider what is expected in this particular lesson.

I don't see an issue with the member's code (we can't really call it yours, now can we?) but the last four lines are not asked for in the instructions, and we have only just begun. There is more to come. Remove the lines and Submit. Then move on.


there was a spelling mistake of calculator?


His point is, don't copy other peoples code, call it your own, then expect us to help.