input: Write a python function to create an instance of a Rectangle class and calculate its area and perimeter.
  assert create_rectangle_and_calculate(5, 3) == (15, 16)
  assert create_rectangle_and_calculate(7, 2) == (14, 18)
  assert create_rectangle_and_calculate(10, 10) == (100, 40)
output: class Rectangle:
      def __init__(self, width, height):
          self.width = width
          self.height = height
  
      def area(self):
          return self.width * self.height
  
      def perimeter(self):
          return 2 * (self.width + self.height)
  
  def create_rectangle_and_calculate(width, height):
      rect = Rectangle(width, height)
      return rect.area(), rect.perimeter()