6
"dict" nesnesinin "has_key" özniteliği yok
Python'da bir grafiği dolaşırken, a Bu hatayı alıyorum: "dict" nesnesinin "has_key" özniteliği yok İşte kodum: def find_path(graph, start, end, path=[]): path = path + [start] if start == end: return path if not graph.has_key(start): return None for node in graph[start]: if node not in path: newpath = find_path(graph, node, end, …