+ 1
Why code is showing output like this? Info in the code
2 Respuestas
+ 1
As opposed to lists, dictionaries make no guarantees whatsoever regarding the order of its elements. If you care about order, you use lists. The fact that they are reordered is simply because Python is using an underlying structure behind the scenes which reorganizes its elements to optimize various operations on the dictionary.
+ 1
Thanks Chinmoy