all of these lines needs to be dedented 4 spaces to the left
to this
to this
def main(): gg = Graph() gg.shortpath('C', 'I') if __name__ == '__main__': main()
Recommended Tutorials: