Changing your Mind



I know what the syntax should be for this section, but I will not post so others can understand it on their own.

I'm confused as to why the result is as such:

{'Atlantic Puffin': 'Arctic Exhibit', 'Rockhopper Penguin': 'San Diego Zoo'}

Why does it not print the first entry in the dictionary 'Unicorn' : 'Cotton Candy House'? Please let me know if you can. Thanks!



If you do not display the code you are using, we will not be able to give a usefull answer....
As indentation is important in Python...

edit your Post

  • leave one blank-line above of your code
  • select your code in the Post
  • then =click= on the </>-symbol-of-this-editor

Your code will then be in a pre-code state
and you will be able to make/present the proper indentations.

or even better use


so I had the same problem. all you need to do is change the location to a location that is already defined in the code. (ie: use 'Jungle House')


I do not understand the dict thing for the Rockhopper Penguin, if you could explain me