test_dictionary = {
'codingal' : 2,
'is' : 2,
'best' : 2,
'for' : 2,
'coding' : 1
}
print("the original dictionary :" + str(test_dictionary))
value = 2
result = 0
for key in test_dictionary:
if test_dictionary[key] == value:
result = result + 1
print(str(result))
To embed this project on your website, copy the following code and paste it into your website's HTML: