diff --git a/algorithms/Python/graphs/dijkstra.py b/algorithms/Python/graphs/dijkstra.py index a4447b9f..f3d6012d 100644 --- a/algorithms/Python/graphs/dijkstra.py +++ b/algorithms/Python/graphs/dijkstra.py @@ -29,29 +29,29 @@ while PQ: """ SAMPLE INPUT AND OUTPUT - ___________________________ - Input: - __________ - - 5 6 - - 0 - - 4 0 1 - 0 1 2 - 0 2 3 - 1 2 4 - 1 3 5 - 2 3 6 +___________________________ +Input: +__________ + +5 6 + +0 + +4 0 1 +0 1 2 +0 2 3 +1 2 4 +1 3 5 +2 3 6 - Output: - ___________ - Distances from start node 0 - 0 - 2 - 3 - 7 - INF +Output: +___________ +Distances from start node 0 +0 +2 +3 +7 +INF """ for i in dist: