text: import math
  
  
  def addition(a, b):
      return a + b
  
  
  def subtraction(a, b):
      return a - b
  
  
  def multiplication(a, b):
      return a * b
  
  
  def division(a, b):
      return a / b
  
  
  def square(a):
      return a ** 2
  
  
  def square_root(a):
      return math.sqrt(a)
  
  
  class Calculator:
      result = 0
  
      def __init__(self):
          pass
  
      def add(self, a, b):
          self.result = addition(a, b)
          return self.result
  
      def subtract(self, a, b):
          self.result = subtraction(a, b)
          return self.result
  
      def multiply(self, a, b):
          self.result = multiplication(a, b)
          return self.result
  
      def divide(self, a, b):
          self.result = division(a, b)
          return self.result
  
      def sq(self, a):
          self.result = square(a)
          return self.result
  
      def sqrt(self, a):
          self.result = square_root(a)
          return self.result
  