1a_dictionary = {"one": 1, "two" : 2, "three": 3}
2
3desired_value = 2
4for key, value in a_dictionary.items():
5 if value == desired_value:
6 del a_dictionary[key]
7 break
8
9print(a_dictionary)
10--------------------------------------------------------------------------------
11OUTPUT
12{'one': 1, 'three': 3}