Hi All, My python version is 3.6.7 I need help to understand this piece of code?
rainbow ={"Green": "G", "Red": "R", "Blue": "B"} # ennumerate with index, and key value fori, (key, value) inenumerate(rainbow.items()): print(i, key, value) This gives a output as always:- 0 Green G 1 Red R 2 Blue B Does this means that the Dict is ordered? or it is implementation dependent? Thanks & Regards, Animesh. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor