From 2ab2e9c181a0e754c29383f579a5a2523c66fdaa Mon Sep 17 00:00:00 2001 From: Ramit Mittal Date: Fri, 24 Aug 2018 23:50:10 +0530 Subject: [PATCH] changed python2 print statements to python3 in 07_dijkstras_algorithm (#82) * Resolve Issue #40: Changed more examples to use python3 syntax * corrected selection sort python * 07 dijkstras changed python2 print statement --- 07_dijkstras_algorithm/python/01_dijkstras_algorithm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/07_dijkstras_algorithm/python/01_dijkstras_algorithm.py b/07_dijkstras_algorithm/python/01_dijkstras_algorithm.py index bb0c6db..776eaf5 100644 --- a/07_dijkstras_algorithm/python/01_dijkstras_algorithm.py +++ b/07_dijkstras_algorithm/python/01_dijkstras_algorithm.py @@ -61,6 +61,6 @@ while node is not None: # Find the next node to process, and loop. node = find_lowest_cost_node(costs) -print "Cost from the start to each node:" -print costs +print("Cost from the start to each node:") +print(costs)