python 3 print elemnts of a dict code example
Example 1: howe to print all values and keysin d
for i in d:
print i, d[i]
Example 2: print key of dictionary python
for key, value in mydic.iteritems() :
print key, value
for i in d:
print i, d[i]
for key, value in mydic.iteritems() :
print key, value