Inquiry about Default ordering for a dictionary in python

On the 1st exercise of python Dict Methods concept, Mecha Munch Management,
under -Sorting a Dictionary- paragraph, it says
#Default ordering for a dictionary is last in, first out (LIFO).

And right before, in < More on .keys(), .values(), and .items()> paragraph, it says
In Python 3.7+, dicts preserve the order in which entries are inserted allowing First-in, First-out (FIFO ), iteration when using .keys() , .values() , or .items() .

Are both explanations compatible? or Is something incorrect?

1 Like

I’m pretty sure the first one should say FIFO.

1 Like

Hi @nonameg11 :wave:

Thanks for coming to the forum and reporting that!

Yup. That looks like a typo. I’ll take a look later today, and get it corrected. :slightly_smiling_face:

1 Like

Fixed in [Mecha Munch Management] Fixed typos in Instructions, Introduction, & Stub File by BethanyG · Pull Request #3937 · exercism/python · GitHub, and will be merged once the CI clears. :smile: