.The error is “ maze1 = Maze() TypeError: __init__() missing 1 required positional argument: 'maze' ”, unable to solve using oops concept?

后端 未结 0 1979
逝去的感伤
逝去的感伤 2021-02-05 09:57

class Maze: def init(self, maze): self.maze = maze

def isSafe(self, maze, x, y, visited):
    # Get Maze dimensions (N x M) rather than hardcodin         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题