How to iterate dictionary in Python?

for key, value in mydict.iteritems()
      print "key:", key, ",value:", value

No comments:

Post a Comment