Hello Imoh,
So our graph represent the distance between 2 letters. If you look at the first line:

'A': [('B', 3), ('D', 1)],

This essentially means that the distance between A and B is 3, and that the distance between A and D is 1.

Now you have to do something similar, but then for B to A and B to C.
Do do this, we put in a tuple for each connected point and add this to the graph.
So in the first line, the tuple between A and B is ('B', 3). (A connects to B with a distance of 3).

So now you got to add all the tuples that connect to B in the list. What you have added is the tuple ('A', 'C', 'C', 4) but you want 2 seperate tuples that show the point it connects to with it’s distance, just like you see it in the line above it.

The one you posted here is good. But make sure you have a comma after each list of tuples. If it still doesn’t work can you show the whole code you have now?