from collections import OrderedDictd=dict([('a',1),('b',2),('c',3)])print(d)od=OrderedDict([('a',1),('b',2),('c',3)])print(od)# your code goes here
Standard input is empty
{'a': 1, 'b': 2, 'c': 3} OrderedDict({'a': 1, 'b': 2, 'c': 3})
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!