Open jasonvan opened 6 years ago
Employee should include a call to super().init() with values
person_class = ("class Person:\n" " def __init__(self, name, age):\n" " self.name = name\n" " self.age = age\n") employee_class = ("class Employee(Person):\n" " def __init__(self, job_title):\n" " self.job_title = job_title\n")
person_class = ("class Person:\n" " def __init__(self, name, age):\n" " self.name = name\n" " self.age = age\n")
employee_class = ("class Employee(Person):\n" " def __init__(self, job_title):\n" " self.job_title = job_title\n")
Employee should include a call to super().init() with values
person_class = ("class Person:\n" " def __init__(self, name, age):\n" " self.name = name\n" " self.age = age\n")
employee_class = ("class Employee(Person):\n" " def __init__(self, job_title):\n" " self.job_title = job_title\n")