class company(object):

    def __init__(self, fName, lName, salary):
        self.fName = fName
self.lName = lName
self.salary = salary

def info(self):
    print(('Name:', self.fName, self.lName))
print(('Salary:', self.salary))


class programmers(company):

    def __init__(self, fName, lName, salary, progLang):
        super(programmers, self).__init__(fName, lName, salary)
self.progLang = progLang

def info(self):
    super(programmers, self).info()
print(('Programming language:', self.progLang))
programmer1 = programmers('John', 'Doe', 1000, 'Python')
programmer1.info()
how to add contents of a parent class method into a subclass method