In which cases does the order of the key-value pair of a dictionary, upon output is different from the way these elements were e | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

In which cases does the order of the key-value pair of a dictionary, upon output is different from the way these elements were e

7th May 2020, 6:04 PM
Punyasloka Sahoo
Punyasloka Sahoo - avatar
1 Answer
0
????? ??????, why does updating a dict (value) makes the "order gets different"? What version of python you are talking about? Can you please provide us with a code snippet that can demonstrate this? Thanks!
8th May 2020, 8:51 AM
Lothar
Lothar - avatar