The following example shows the storing of the data and accessing the data from dictionary variable.The accessing of dictionary variable data is not a orderas what we are storing.
Is my understanding is correct?.Is it possible to retrievethe dictiondary variable data in a order,as what we store?
Thanks in advance
PSB
Is my understanding is correct?.Is it possible to retrievethe dictiondary variable data in a order,as what we store?
Thanks in advance
PSB
Code:
>>> dict1= {"E1":[1,2,6,5],"E2":[2,3,7,6],"E3":[3,4,8,7],"E4":[5,6,10,9],"E5":[6,7,11,10],"E6":[7,8,12,11]} >>> print dict1 {'E5': [6, 7, 11, 10], 'E4': [5, 6, 10, 9], 'E6': [7, 8, 12, 11], 'E1': [1, 2, 6, 5], 'E3': [3, 4, 8, 7], 'E2': [2, 3, 7, 6]} >>>
Comment