My output has some problems


#1


https://www.codecademy.com/zh/courses/python-beginner-en-KAgt5/0/3?curriculum_id=4f89dab3d788890003000096

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. 
my_dict={"Coast":23,"ginsan":24,"kakura":True}
for key in my_dict:
    print key, my_dict[key],


#2

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)


#3

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