Https://app.dataquest.io/m/314/dictionaries-and-frequency-tables/13/filtering-for-the-intervals

https://app.dataquest.io/m/314/dictionaries-and-frequency-tables/13/filtering-for-the-intervals

In the answer provided, the output starts at the lowest interval. However, with my code, the output of the dictionary begins from the highest interval.

1 Like

Hi @glabunsky,

Dictionaries aren’t sorted by the order of insertion prior to python version 3.6 and our platform is using version 3.4.3. Therefore, dictionaries will be printed in random order.

You can print the python version by using this code:

import platform
print(platform.python_version())

Best,
Sahil

1 Like