#!/usr/bin/python3
class BaseGeometry:
    """ task 6 """
    def area(self):
        raise Exception("area() is not implemented")
    """ task 7 """
    def integer_validator(self, name, value):
        if not isinstance(value, int):
            raise TypeError("{} must be an integer".format(name))
        if value <= 0:
            raise ValueError("{} must be greater than 0".format(name))

#!/usr/bin/python3
class BaseGeometry:
    """ task 6 """
    def area(self):
        raise Exception("area() is not implemented")
    """ task 7 """
    def integer_validator(self, name, value):
        if not isinstance(value, int):
            raise TypeError("{} must be an integer".format(name))
        if value <= 0:
            raise ValueError("{} must be greater than 0".format(name))

#!/usr/bin/python3 task 6 task 7