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):
    pass
how to add contents of a parent class method into a subclass method