Does Python store dictionary elements in any particular order?

Question :

Does Python store dictionary elements in any particular order?

No, python does not store dictionary elements in any particular order. If we enter elements in one order, they may be stored in another (essentially random) order inside Python. For example,
>>> D1 = { ' sleep' : " All night ", 'work' : "All day"}
>>> D1
{ 'work' : 'All day', 'sleep' : 'All night' }


CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad