input: Write a python function to calculate the area and perimeter of a triangle using a class.
  assert Triangle(3, 4, 5).get_perimeter() == 12
  assert Triangle(3, 4, 5).get_area() == 6.0
  assert Triangle(6, 8, 10).get_perimeter() == 24
  assert Triangle(6, 8, 10).get_area() == 24.0
output: import math
  
  class Triangle:
      def __init__(self, side1, side2, side3):
          self.side1 = side1
          self.side2 = side2
          self.side3 = side3
  
      def get_perimeter(self):
          return self.side1 + self.side2 + self.side3
  
      def get_area(self):
          s = self.get_perimeter() / 2
          area = math.sqrt(s * (s - self.side1) * (s - self.side2) * (s - self.side3))
          return area