My output has some problems


there is a warning : "It looks like you did not print out every key in my_dict."
but I have print out keys in my_dict correctly and in the guide there is also a comma after the "d[key]". So I want to know why this happened.

Replace this line with your code. 
for key in my_dict:
    print key, my_dict[key],


There's definitely room for interpretation in what they ask you to do, but I'm guessing they mean that each entry should be followed by a newline (which print statements already add)


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.