#3 Error: Did not print out every key


#1

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.


#2

I finally figured it out....

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

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


#3

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]


#4

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