Skip to content

Commit 2ab2e9c

Browse files
uwu-araegonSchiele
authored andcommitted
changed python2 print statements to python3 in 07_dijkstras_algorithm (egonSchiele#82)
* Resolve Issue egonSchiele#40: Changed more examples to use python3 syntax * corrected selection sort python * 07 dijkstras changed python2 print statement
1 parent 57dd4e1 commit 2ab2e9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

07_dijkstras_algorithm/python/01_dijkstras_algorithm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ def find_lowest_cost_node(costs):
6161
# Find the next node to process, and loop.
6262
node = find_lowest_cost_node(costs)
6363

64-
print "Cost from the start to each node:"
65-
print costs
64+
print("Cost from the start to each node:")
65+
print(costs)
6666

0 commit comments

Comments
 (0)