Hi all,
Does anyone know how to access the items within a students answer for Graph-UI questions?
I can see that the dictionary object is named graph and I can use graph.keys() and graph.items(). If I want to access nodes or edges to check the values, is this possible to do directly, or would it require iterating through all keys within the dictionary?
I hope this makes sense.
Best wishes,
Phil
This thread finishes with code that iterates through the nodes and edges in the graph. That's the only way.