maze/bin/solve_maze.py

7 lines
90 B
Python

import sys
from maze import parse_maze
m = parse_maze(sys.stdin.read())
print m.solve()