How to write Inheritance in python example ?
Question : How to write Inheritance in python example Answer : Base Class class Calculator: def Addition(self,a,b): return a+b def Subtraction(self,a,b): return a-b def Multiplication(self,a,b): return a*b def Division(self,a,b): return…