How to iterate only selected key in a python dictionary?
for k, v in myDict:
print ('key = {}'.format(k))
print ("value = {}".format(v))
This will print out all keys and its values. Lets say I only want key1, key2 and key5, and their values, any idea?
Thank you