saving . . . saved Adding a key has been deleted. Adding a key has been hidden .
Adding a key
Title
Question
At 4:29 min when u r adding key as height it is getting added alphabetically , but at 6:03min you say 
keys of dictionary are not ordered. It's confusing.

why student['height']=6.2 not getting added at last in student dict?

Python-3.4.3 Dictionaries 04-05 min 20-30 sec 22-09-20, 10:48 p.m. iampiyushgupta@gmail.com

Answers:

In theory, Dictionaries do not guarantee order, which means you may be able to see that the keys are in order, but when you iterate over them or use them in a program, you should not rely on the order, that is bad design.
24-09-20, 11:52 a.m. ankitrj.iitb
ok
24-09-20, 12:28 p.m. iampiyushgupta@gmail.com

Login to add comment


Log-in to answer to this question.