finish2
исправлена ошибка в классе maze из-за которой код не запускался
This commit is contained in:
parent
287a6098b5
commit
e8e43b0919
|
|
@ -1,4 +1,3 @@
|
||||||
import sys
|
|
||||||
import time
|
import time
|
||||||
import csv
|
import csv
|
||||||
from collections import deque
|
from collections import deque
|
||||||
|
|
@ -24,7 +23,7 @@ class Cell:
|
||||||
return f"Cell({self.x},{self.y})"
|
return f"Cell({self.x},{self.y})"
|
||||||
|
|
||||||
class Maze:
|
class Maze:
|
||||||
def __init__(self, width: int, height: int):
|
def __init__(self, width: int, height: int):
|
||||||
self.width = width
|
self.width = width
|
||||||
self.height = height
|
self.height = height
|
||||||
self.cells: List[List[Cell]] = []
|
self.cells: List[List[Cell]] = []
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user