Changing your Mind


#1

Hello,

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'}
None

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


#2

@digitalblaster36740,

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
= http://discuss.codecademy.com/t/using-backticks-to-format-your-code/3697
[extra's]
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet


#3

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')


#4

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