python dictionary show keys and values code example
Example 1: howe to print all values and keysin d
for i in d:
print d.keys(i), d.values(i)
Example 2: howe to print all values and keysin d
for i in d:
print i, d[i]
for i in d:
print d.keys(i), d.values(i)
for i in d:
print i, d[i]