text: class Calculator:
      def add(self, x, y):
          return x + y
  
      def subtract(self, x, y):
          return x - y
  
      def multiply(self, x, y):
          return x * y
  
      def divide(self, x, y):
          try:
              return x / y
          except ZeroDivisionError:
              print('Invalid operation. Division by 0')
  
  
  calculator = Calculator()
  print(calculator.divide(5,1))
  calculator.divide(5,0)
  