<prompt> Kubuni darasa kwa ajili ya calculator rahisi.  <response>: Here is a simple design for a Calculator class:pythonclass Calculator: def __init__self: self.result 0 def addself, number: self.result number return self.result def subtractself, number: self.result - number return self.result def multiplyself, number: self.result number return self.result def divideself, number: if number 0: raise ValueErrorCannot divide by zero self.result number return self.result def resetself: self.result 0 return self.resultThis Calculator class has several methods for basic arithmetic operations:- add: adds a number to the current result- subtract: subtracts a number from the current result- multiply: multiplies the current result by a number- divide: divides the current result by a number raises an error if the number is 0- reset: resets the current result to 0The result attribute stores the current result of the calculator, which is updated by each arithmetic operation. The reset method can be used to clear the result and start a new calculation. 