class Cell: """Хранит координаты (x, y) флаги isWall, isStart, isExit метод isPassable() (возвращает True для прохода, если не стена).""" def __init__(self, x: int, y: int, isWall = False, isStart = False, isExit = False): self.x = x self.y = y self.isWall = isWall self.isStart = isStart self.isExit = isExit def isPassable(self): return not self.isWall