iter: Iterator Types
D = {'a':1, 'b':2, 'c':3} x = iter(D) print x.next() print x.next() for key in D: print key, D[key]