get key value pair from dictionary python code example
Example 1: printing python dictionary values
#print keys and values from the dictionary
for k, v in dic.items():
print(k, v)
Example 2: get all keys and values from dictionary python
#python 3
for k,v in dict.items():
print(k, v)