how to print a key value in python code example
Example 1: print key of dictionary python
for key, value in mydic.items() :
print (key, value)
Example 2: howe to print all values and keysin d
for i in d:
print d.keys(i), d.values(i)
for key, value in mydic.items() :
print (key, value)
for i in d:
print d.keys(i), d.values(i)