# -*- coding: utf-8 -*- m,n=5,5 migong=[ list('02111'), list('01a0A'), list('01003'), list('01001'), list('01111') ] for i in range(m): for j in range(n): if migong[i][j]=='2': begin=(i,j) if migong=='3': end=(i,j) BFS=[(begin,[])] pointsPassed=[begin] ste...