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?
13359 visits
Outline:Overview of dictionaries Creating an empty dictionary Creating a non empty dictionary About key:value pair How to access the dictionary elements Demonstration of wrong key Add, delete and modify an item in a dictionary Usage of method in Retrieve the keys and values by using the methods keys() and values() Iterate over elements of a dictionary using a for loop
Overview of dictionaries Creating an empty dictionary Creating a non empty dictionary About key:value pair How to access the dictionary elements Demonstration of wrong key Add, delete and modify an item in a dictionary Usage of method in Retrieve the keys and values by using the methods keys() and values() Iterate over elements of a dictionary using a for loop
Show video info
Pre-requisite