Q: how to scan every element of a dictionary ?

Hwanjo Yu hwanjoyu at uiuc.edu
Sat Oct 28 19:21:44 EDT 2000


Hi,

Doesn't the dictionary data structure support an enumeration operator to
scan every element of it ?
When I use the "for" statement to do it as I do with a list structure, it
doesn't work.
How to do it ?
Thanks.





More information about the Python-list mailing list