While traversing a graph in Python, a I\'m receiving this error:
\'dict\' object has no attribute \'has_key\'
Here is my code:
I think it is considered "more pythonic" to just use in when determining if a key already exists, as in
in
if start not in graph: return None