Assign them (2, y) coordinates, where (0,0) is the upper-left corner of the map. In the example map above, we have lots of cells along the top edge; their coordinates are (0,0), (1,0), (2,0),(3,0),(4,0), (5,0),(6,0),... There are also quite a few along the left edge: (0,1),(0,2), (0,3), (0,4),(0,5).... The start point is at (4,0) and the end point is at (5,7).
I need python code of these coordinates its urgent .
Comments
Leave a comment