class bank:
    def a(self,name,age):
        self.n=name
        self.a=age
class details(bank):
    def display(self):
        print(self.n)
        print(self.a)
bnk=bank()
bnk.a("ziya",20)
det=details()
det.display()














    
