input: Write a function to create a Rectangle object and test its area and perimeter methods.
  assert create_and_test_rectangle(5, 10) == (50, 30)
  assert create_and_test_rectangle(3, 7) == (21, 20)
  assert create_and_test_rectangle(6, 6) == (36, 24)
output: def create_and_test_rectangle(width, height):
      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)
      
      rect = Rectangle(width, height)
      return (rect.area(), rect.perimeter())