This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import copy | |
maze = [] | |
# Read the maze into an array | |
with open('maze1.txt') as f: | |
for line in f.readlines(): | |
maze.append([int(i) for i in line.strip()]) |