class stclas:
def __init__(self,name,age):
self.name=name
self.age=age
# print (name)
def tell(self):
print ("name:%s"%(self.name),("age:%d")%(self.age))
class students(stclas):
# print(stclas.__init__)
def __init__(self,name,age,marks):
stclas.__init__(self,name,age)
# print(marks)
self.marks=marks
# print(marks)
# print ("Student name is:%s"%(self.name))
def tell(self):
stclas.tell(self)
print("marks:%s" %(self.marks))
#s=students('zzz',22,11)
#for s in stclas:
# stclas.tell()
st1=students("a",1,2)
st1.tell()