#!/usr/bin/python3
"""module defines class BaseGeometry and Rectangle"""
BaseGeometry = __import__('7-base_geometry').BaseGeometry


class Rectangle(BaseGeometry):
    """class Rectangle that is subclass of BaseGeometry"""

    def __init__(self, width, height):
        """Intialize Rectangle

        Args:
            width (int): The width of the new Rectangle.
            height (int): The height of the new Rectangle.
        """
        super().integer_validator("width", width)
        self.__width = width
        super().integer_validator("height", height)
        self.__height = height

    def area(self):
        """Return the area of the rectangle."""
        return self.__width * self.__height

    def __str__(self):
        """Return the print() and str() representation of a Rectangle."""
        string = "[" + str(self.__class__.__name__) + "] "
        string += str(self.__width) + "/" + str(self.__height)
        return string

5acc66a1b0b2c5fb055e8ff771b9af3c680a4350
<mask token>


class Rectangle(BaseGeometry):
    <mask token>

    def __init__(self, width, height):
        """Intialize Rectangle

        Args:
            width (int): The width of the new Rectangle.
            height (int): The height of the new Rectangle.
        """
        super().integer_validator('width', width)
        self.__width = width
        super().integer_validator('height', height)
        self.__height = height

    def area(self):
        """Return the area of the rectangle."""
        return self.__width * self.__height
    <mask token>

<mask token>


class Rectangle(BaseGeometry):
    <mask token>

    def __init__(self, width, height):
        """Intialize Rectangle

        Args:
            width (int): The width of the new Rectangle.
            height (int): The height of the new Rectangle.
        """
        super().integer_validator('width', width)
        self.__width = width
        super().integer_validator('height', height)
        self.__height = height

    def area(self):
        """Return the area of the rectangle."""
        return self.__width * self.__height

    def __str__(self):
        """Return the print() and str() representation of a Rectangle."""
        string = '[' + str(self.__class__.__name__) + '] '
        string += str(self.__width) + '/' + str(self.__height)
        return string

<mask token>


class Rectangle(BaseGeometry):
    """class Rectangle that is subclass of BaseGeometry"""

    def __init__(self, width, height):
        """Intialize Rectangle

        Args:
            width (int): The width of the new Rectangle.
            height (int): The height of the new Rectangle.
        """
        super().integer_validator('width', width)
        self.__width = width
        super().integer_validator('height', height)
        self.__height = height

    def area(self):
        """Return the area of the rectangle."""
        return self.__width * self.__height

    def __str__(self):
        """Return the print() and str() representation of a Rectangle."""
        string = '[' + str(self.__class__.__name__) + '] '
        string += str(self.__width) + '/' + str(self.__height)
        return string

<mask token>
BaseGeometry = __import__('7-base_geometry').BaseGeometry


class Rectangle(BaseGeometry):
    """class Rectangle that is subclass of BaseGeometry"""

    def __init__(self, width, height):
        """Intialize Rectangle

        Args:
            width (int): The width of the new Rectangle.
            height (int): The height of the new Rectangle.
        """
        super().integer_validator('width', width)
        self.__width = width
        super().integer_validator('height', height)
        self.__height = height

    def area(self):
        """Return the area of the rectangle."""
        return self.__width * self.__height

    def __str__(self):
        """Return the print() and str() representation of a Rectangle."""
        string = '[' + str(self.__class__.__name__) + '] '
        string += str(self.__width) + '/' + str(self.__height)
        return string

#!/usr/bin/python3
"""module defines class BaseGeometry and Rectangle"""
BaseGeometry = __import__('7-base_geometry').BaseGeometry


class Rectangle(BaseGeometry):
    """class Rectangle that is subclass of BaseGeometry"""

    def __init__(self, width, height):
        """Intialize Rectangle

        Args:
            width (int): The width of the new Rectangle.
            height (int): The height of the new Rectangle.
        """
        super().integer_validator("width", width)
        self.__width = width
        super().integer_validator("height", height)
        self.__height = height

    def area(self):
        """Return the area of the rectangle."""
        return self.__width * self.__height

    def __str__(self):
        """Return the print() and str() representation of a Rectangle."""
        string = "[" + str(self.__class__.__name__) + "] "
        string += str(self.__width) + "/" + str(self.__height)
        return string
