Https://discuss.codecademy.com/t/apple-cherry-berry-printing-out-of-order/85637?u=devninja48390


#1

The issue in the link has been closed but there was no real answer to it. I'd like to know why the key 'c' is read out before 'b'. I realize there is neither a index order nor an alphabetical order. How ever, if you run the program several times, you can see there is an order, since 'c' comes always after 'a' and before 'b'.


#2

Dictionaries don't have an explicit order. You will loop over and print the dict's values. But Python will print it as conveniently as it feels. :slight_smile:


#3

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