14. This Looks Like a Job For..., the prompt claims the syntax for a derived class is as follows:
class Derived(Base): def m(self): return super(Derived, self).m()
.m() is the method from the base class. However, m is the derived method. So, the correct code for this sections looks like this:
def full_time_wage(self, hours): return super(PartTimeEmployee, self).calculate_wage(hours)
My question is, why does code academy use m as both a placeholder for the derived method AND for the base method? This initially led me to believe the m from
m(self) were supposed to be the same thing. Is there a relationship between the two that I am missing?