from collections import OrderedDict
Digit = [(1, 'One'), (2, 'Two'), (3, 'Three'), (4, 'Four'), (5, 'Five'), (6,
    'Six'), (7, 'Seven'), (8, 'Eight'), (9, 'Nine'), (0, 'Zero')]
Digit = OrderedDict(Digit)
Digit
for k, v in list(Digit.items()):
    pass
How to get an ordered output from a Dictionary in python?