def init(self, x, y): self.x = x self.y = y self.__area = x * y
def obter_area(self):
return self.__area
from Retangulo import Retangulo
Traceback (most recent call last): File "", line 1, in File "C:\Program Files\JetBrains\PyCharm Community Edition 2019.2.1\helpers\pydev_pydev_bundle\pydev_import_hook.py", line 21, in do_import module = self.systemimport(name, args, *kwargs) ModuleNotFoundError: No module named 'Retangulo'