class Calculator(): def __init__(self,a,b): self.a = a self.b = b def add(self): print() print("Total :",self.a+self.b) def sub(self): print("Difference :",self.a-self.b) def mul(self): print("Product :",self.a*self.b) def div(self): print() print("Quotient :",self.a/self.b) print("Remainder :",self.a%self.b) class Display(Calculator): def __init__(self,a,b): super().__init__(a,b) self.add() self.sub() self.mul() self.div() a = int(input("Enter the Number of A : ")) b = int(input("Enter the Number of B : ")) display = Display(a,b)