Dictionaries with tuples or tuples of tuples

Jon Reyes everystepsayes at gmail.com
Tue Feb 19 02:38:36 CET 2013

Hi Mark. Well, doesn't iteritems() work the same? or am I missing something? By the way I'm sure I read the dictionaries part of Python but I'm unsure if it would take int's as a key for dictionaries. I've been weaned on Java where the keys of hashmaps are always Strings. 

PS: Just checked, wow I could use ints as keys. Awesome!

More information about the Python-list mailing list