The graph.py source code contains correct definitions for the __repr__ and __lt__ functions, but the graph_challenge IPythonNotebook contains an older definition of those functions that doesn't compile.
Thanks for writing these interactive coding challenges -- they're really awesome! :)
The graph.py source code contains correct definitions for the
__repr__
and__lt__
functions, but the graph_challenge IPythonNotebook contains an older definition of those functions that doesn't compile.Thanks for writing these interactive coding challenges -- they're really awesome! :)