class school:
def init(self,name,age):
self.name=name
self.age=age
print(’(Initialized Teacher:{})’.format(self.name))
def tell(self):
print('Name: "{}" Age: "{}"'.format(self.name,self.age)+" ")
class teacher(school):
def init(self,name,age,salary):
super().init(name,age)
self.salary=salary
print(’(Initialized teacher: {})’.format(self.name))
def tell(self):
super().tell()
print('Salary: "{:d}"'.format(self.salary))
t=teacher(‘ujjwal’,40,3000)
t.tell()