can get keys by its value in dictionary code example
Example: python get keys and values from dict
# using dict.items() to
# get key and value
print ("Dict key-value are : ")
for key, value in test_dict.items():
print (key, value)
# using dict.items() to
# get key and value
print ("Dict key-value are : ")
for key, value in test_dict.items():
print (key, value)