class Retangulo:

    def __init__(self, x, y):
        self.__x = x
        self.__y = y
        self.__area = x * y

    def obter_area(self):
        return self.__area

r = Retangulo(7,6)
r.area = 7
r.obter_area()