>>> main() Atlanta {'Dallas': 33, 'Chicago': 15, 'Seattle': 52} Dallas {'Atlanta': 33, 'Boston': 10, 'Seattle': 12} Boston {'Dallas': 10, 'Seattle': 45, 'Minneapolis': 65} Chicago {'Atlanta': 15, 'Seattle': 34, 'Minneapolis': 12} Seattle {'Atlanta': 52, 'Boston': 45, 'Dallas': 12, 'Chicago': 34} Minneapolis {'Boston': 65, 'Chicago': 12} >>> fileref = open(pickAFile(), 'r') >>> g = buildGraph(fileref) >>> getNeighbors(g, "Boston") {'Dallas': 10, 'Seattle': 45, 'Minneapolis': 65} >>> getNeighbors(g, "Atlanta") {'Dallas': 33, 'Chicago': 15, 'Seattle': 52} >>> getEdgeWeight(g, "Boston", "Atlanta") The error was:Atlanta Mapping key not found. Attempt to access a key that is not in a dictionary. Please check line 35 of /space/sriram/python/graph2.py >>> getEdgeWeight(g, "Boston", "Seattle") 45