

d = {'title': 'Python Web Site', 'url': 'http://www.python.org', 'spam': 0}

#The iteritems method works in much the same way, but returns an iterator instead of 
#a list.



for key, value in d.iteritems():
    print key, value