Question : How to write python calculator using class ? Answer : #Python calculator program using 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 a/b def Power(self,a,b): return a**b Calculation_1=Calculator()…
Posted inPython