Modernize Python 2 code to get ready for Python 3

This commit is contained in:
cclauss
2017-11-25 12:41:55 +01:00
parent 4e06949072
commit e31c780d94
17 changed files with 38 additions and 9 deletions

View File

@ -2,6 +2,7 @@
# Author: Shubham Malik
# References: https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
from __future__ import print_function
import math
import sys
# For storing the vertex set to retreive node with the lowest distance