Thomas Lotze wrote: > Hi, > > I wonder what's the reason for iterating over a dict by keys: I suspect that at least part of the reason is that given a key you can easily get the corresponding value, but given the value it's difficult to get the key. Seems like a good choice for "bare" dict iteration. -- Benji York