#3 Error: Did not print out every key


This is my code. The error says, "Oops, try again. It looks like you did not print out every key in my_dict." I"m not sure what to do.


I finally figured it out....

print my_dict.keys()
print my_dict.values()

for key in my_dict:
print key, my_dict[key]


I'm confused. I tried your fix and it worked fine but it seems to me that the print statement would print out Key twice instead of the value? print key,"", my_dict[key]


yea why does this print out key, and not key again?
it looks like it should print key twice?