Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ordered dictionary python

from collections import OrderedDict

# Remembers the order the keys are added!
x = OrderedDict(a=1, b=2, c=3)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #ordered #dictionary #python
ADD COMMENT
Topic
Name
2+2 =