how to print value using key in dictionary python code example
Example 1: print key of dictionary python
for key, value in mydic.items() :
print (key, value)
Example 2: printing python dictionary values
#print keys and values from the dictionary
for k, v in dic.items():
print(k, v)